#9835DC#9835DC

#9835DC is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.4% C 0.239 H 307.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9835DC
RGBrgb(152, 53, 220)
HSLhsl(276, 70%, 54%)
HSVhsv(276, 76%, 86%)
CMYKcmyk(30.9%, 75.9%, 0%, 13.7%)
CIE-LABlab(44.79, 67.23, -67.02)
CIE-LCHlch(44.79, 94.93, 315.09°)
OKLaboklab(55.44% 0.1436 -0.1906)
OKLCHoklch(55.44% 0.239 307)
XYZxyz(27.1375, 14.3892, 69.0440)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835DC #79DC35
analogous
#4435DC #9835DC #DC35CC
triadic
#9835DC #DC9835 #35DC98
tetradic
#9835DC #DC4435 #79DC35 #35CCDC
square
#9835DC #DC4435 #79DC35 #35CCDC
split-complementary
#9835DC #CCDC35 #35DC44
monochromatic
#551680 #781FB5 #9835DC #B369E5 #CD9DEE

Accessibility & contrast

On white

5.42
#9835DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9835DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835DC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835DC#FFFFFF#000000##FFFFFF
##9835DC1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#8C5F87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9835dc;
/* rgb */ color: rgb(152, 53, 220);
/* oklch */ color: oklch(55.4% 0.239 307.0);
Tailwind
colors: {
  custom: {
    50: '#bc77e8',
    500: '#9835dc',
    950: '#000000',
  },
}
SCSS
$custom: #9835dc;
$custom-light: #bc77e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9835dc",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 275.569,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55437,
    "c": 0.23861,
    "h": 307
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#9835DC
secondary
#B0DA93
accent
#ED3B83
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9835DC

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

Preview Lab → · Contrast checker → · Palette generator →

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