#9835D1#9835D1

#9835D1 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.6% C 0.228 H 309.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9835D1
RGBrgb(152, 53, 209)
HSLhsl(278, 63%, 51%)
HSVhsv(278, 75%, 82%)
CMYKcmyk(27.3%, 74.6%, 0%, 18%)
CIE-LABlab(43.98, 64.90, -62.02)
CIE-LCHlch(43.98, 89.77, 316.30°)
OKLaboklab(54.62% 0.1458 -0.1759)
OKLCHoklch(54.62% 0.228 309.7)
XYZxyz(25.7283, 13.8256, 61.6225)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835D1 #6ED135
analogous
#4A35D1 #9835D1 #D135BC
triadic
#9835D1 #D19835 #35D198
tetradic
#9835D1 #D14A35 #6ED135 #35BCD1
square
#9835D1 #D14A35 #6ED135 #35BCD1
split-complementary
#9835D1 #BCD135 #35D14A
monochromatic
#521A72 #7525A4 #9835D1 #B167DC #CB99E8

Accessibility & contrast

On white

5.58
#9835D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9835D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835D1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835D1#FFFFFF#000000##FFFFFF
##9835D11.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0269CE
Tritanopia (blue-blind)
#905A81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9835d1;
/* rgb */ color: rgb(152, 53, 209);
/* oklch */ color: oklch(54.6% 0.228 309.7);
Tailwind
colors: {
  custom: {
    50: '#bb76e0',
    500: '#9835d1',
    950: '#000000',
  },
}
SCSS
$custom: #9835d1;
$custom-light: #bb76e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9835d1",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 209
  },
  "hsl": {
    "h": 278.077,
    "s": 62.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.22842,
    "h": 309.7
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#9835D1
secondary
#A8D38F
accent
#E6427E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9835D1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9835D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva