#9A35DC#9A35DC

#9A35DC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.7% C 0.239 H 307.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9A35DC
RGBrgb(154, 53, 220)
HSLhsl(276, 70%, 54%)
HSVhsv(276, 76%, 86%)
CMYKcmyk(30%, 75.9%, 0%, 13.7%)
CIE-LABlab(45.06, 67.58, -66.57)
CIE-LCHlch(45.06, 94.85, 315.43°)
OKLaboklab(55.69% 0.1463 -0.1892)
OKLCHoklch(55.69% 0.239 307.7)
XYZxyz(27.5151, 14.5839, 69.0617)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A35DC #77DC35
analogous
#4635DC #9A35DC #DC35CB
triadic
#9A35DC #DC9A35 #35DC9A
tetradic
#9A35DC #DC4635 #77DC35 #35CBDC
square
#9A35DC #DC4635 #77DC35 #35CBDC
split-complementary
#9A35DC #CBDC35 #35DC46
monochromatic
#561680 #7A1FB5 #9A35DC #B469E5 #CE9DEE

Accessibility & contrast

On white

5.36
#9A35DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9A35DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A35DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A35DC#FFFFFF#000000##FFFFFF
##9A35DC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a35dc;
/* rgb */ color: rgb(154, 53, 220);
/* oklch */ color: oklch(55.7% 0.239 307.7);
Tailwind
colors: {
  custom: {
    50: '#bd77e8',
    500: '#9a35dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a35dc;
$custom-light: #bd77e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a35dc",
  "rgb": {
    "r": 154,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 276.287,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.2391,
    "h": 307.7
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#9A35DC
secondary
#AFDA93
accent
#ED3B81
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9A35DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9A35DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva