#9836D0#9836D0

#9836D0 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.226 H 309.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9836D0
RGBrgb(152, 54, 208)
HSLhsl(278, 62%, 51%)
HSVhsv(278, 74%, 82%)
CMYKcmyk(26.9%, 74%, 0%, 18.4%)
CIE-LABlab(44.04, 64.31, -61.34)
CIE-LCHlch(44.04, 88.87, 316.35°)
OKLaboklab(54.64% 0.145 -0.1739)
OKLCHoklch(54.64% 0.226 309.8)
XYZxyz(25.6510, 13.8683, 60.9879)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836D0 #6ED036
analogous
#4B36D0 #9836D0 #D036BB
triadic
#9836D0 #D09836 #36D098
tetradic
#9836D0 #D04B36 #6ED036 #36BBD0
square
#9836D0 #D04B36 #6ED036 #36BBD0
split-complementary
#9836D0 #BBD036 #36D04B
monochromatic
#521A71 #7526A3 #9836D0 #B168DC #CB99E7

Accessibility & contrast

On white

5.56
#9836D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9836D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836D0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836D0#FFFFFF#000000##FFFFFF
##9836D01.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#0B69CD
Tritanopia (blue-blind)
#905A81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9836d0;
/* rgb */ color: rgb(152, 54, 208);
/* oklch */ color: oklch(54.6% 0.226 309.8);
Tailwind
colors: {
  custom: {
    50: '#bb77df',
    500: '#9836d0',
    950: '#000000',
  },
}
SCSS
$custom: #9836d0;
$custom-light: #bb77df;
$custom-dark: #000000;
JSON
{
  "hex": "#9836d0",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 278.182,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.22643,
    "h": 309.8
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#9836D0
secondary
#A8D38F
accent
#E5437E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9836D0

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

Preview Lab → · Contrast checker → · Palette generator →

#9836D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva