#9836DD#9836DD

#9836DD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.6% C 0.239 H 306.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9836DD
RGBrgb(152, 54, 221)
HSLhsl(275, 71%, 54%)
HSVhsv(275, 76%, 87%)
CMYKcmyk(31.2%, 75.6%, 0%, 13.3%)
CIE-LABlab(44.99, 67.08, -67.26)
CIE-LCHlch(44.99, 94.99, 314.92°)
OKLaboklab(55.6% 0.1425 -0.1913)
OKLCHoklch(55.6% 0.239 306.7)
XYZxyz(27.3164, 14.5345, 69.7590)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836DD #7BDD36
analogous
#4536DD #9836DD #DD36CE
triadic
#9836DD #DD9836 #36DD98
tetradic
#9836DD #DD4536 #7BDD36 #36CEDD
square
#9836DD #DD4536 #7BDD36 #36CEDD
split-complementary
#9836DD #CEDD36 #36DD45
monochromatic
#561683 #781FB7 #9836DD #B36AE6 #CE9FEF

Accessibility & contrast

On white

5.38
#9836DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9836DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836DD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836DD#FFFFFF#000000##FFFFFF
##9836DD1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#8C6088
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9836dd;
/* rgb */ color: rgb(152, 54, 221);
/* oklch */ color: oklch(55.6% 0.239 306.7);
Tailwind
colors: {
  custom: {
    50: '#bc77e9',
    500: '#9836dd',
    950: '#000000',
  },
}
SCSS
$custom: #9836dd;
$custom-light: #bc77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9836dd",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 221
  },
  "hsl": {
    "h": 275.21,
    "s": 71.064,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55604,
    "c": 0.23855,
    "h": 306.7
  },
  "luminance": 0.14534
}

Semantic roles & 50–950 ramp

primary
#9836DD
secondary
#B1DB94
accent
#EE3A84
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9836DD

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

Preview Lab → · Contrast checker → · Palette generator →

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