#9836DE#9836DE

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

Color values

HEX#9836DE
RGBrgb(152, 54, 222)
HSLhsl(275, 72%, 54%)
HSVhsv(275, 76%, 87%)
CMYKcmyk(31.5%, 75.7%, 0%, 12.9%)
CIE-LABlab(45.06, 67.29, -67.71)
CIE-LCHlch(45.06, 95.46, 314.82°)
OKLaboklab(55.68% 0.1423 -0.1926)
OKLCHoklch(55.68% 0.239 306.5)
XYZxyz(27.4500, 14.5879, 70.4627)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836DE #7CDE36
analogous
#4436DE #9836DE #DE36D0
triadic
#9836DE #DE9836 #36DE98
tetradic
#9836DE #DE4436 #7CDE36 #36D0DE
square
#9836DE #DE4436 #7CDE36 #36D0DE
split-complementary
#9836DE #D0DE36 #36DE44
monochromatic
#561684 #781EB9 #9836DE #B36BE7 #CE9FEF

Accessibility & contrast

On white

5.36
#9836DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9836DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836DE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836DE#FFFFFF#000000##FFFFFF
##9836DE1.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)
#0068E3
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#8C6089
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9836de;
/* rgb */ color: rgb(152, 54, 222);
/* oklch */ color: oklch(55.7% 0.239 306.5);
Tailwind
colors: {
  custom: {
    50: '#bc77e9',
    500: '#9836de',
    950: '#000000',
  },
}
SCSS
$custom: #9836de;
$custom-light: #bc77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9836de",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 222
  },
  "hsl": {
    "h": 275,
    "s": 71.795,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5568,
    "c": 0.23948,
    "h": 306.5
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#9836DE
secondary
#B2DC94
accent
#EF3985
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9836DE

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

Preview Lab → · Contrast checker → · Palette generator →

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