#835DFD

A color in the Violet family

#835dfd is a color in the Violet family: RGB(131, 93, 253), HSL(254°, 98%, 68%), CMYK(48%, 63%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 4.24:1 on white and 4.95:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#835dfd
RGBrgb(131 93 253)
RGB (legacy)rgb(131, 93, 253)
RGB %rgb(51% 36% 99%)
HSLhsl(254 98% 68%)
HSV / HSBhsv(254, 63%, 99%)
HWBhwb(254 36% 1%)
CMYKcmyk(48%, 63%, 0%, 1%)
CIELAB (D50)lab(50.51 45.06 -76.02)
LCHlch(50.51 88.37 300.66)
OKLaboklab(0.605 0.0725 -0.214)
OKLCHoklch(0.605 0.226 288.71)
Decimal8609277

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 3.4
Closest web-safe color#9966ff
Hue254°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)48% / 44%
Relative luminance (WCAG)0.1975
Red / Green / Blue131 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.24:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.95:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 68.8 / -32.9 · As background with white / black text: Lc -74.3 / 35.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #835dfd;
  --color-brand-oklch: oklch(60.5% 0.226 288.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(131 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#835dfd] text-[#835dfd] border-[#835dfd]">