#9837DE#9837DE

#9837DE is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.8% C 0.238 H 306.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9837DE
RGBrgb(152, 55, 222)
HSLhsl(275, 72%, 54%)
HSVhsv(275, 75%, 87%)
CMYKcmyk(31.5%, 75.2%, 0%, 12.9%)
CIE-LABlab(45.20, 66.91, -67.50)
CIE-LCHlch(45.20, 95.04, 314.75°)
OKLaboklab(55.77% 0.1415 -0.192)
OKLCHoklch(55.77% 0.238 306.4)
XYZxyz(27.4970, 14.6820, 70.4784)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9837DE #7DDE37
analogous
#4537DE #9837DE #DE37D1
triadic
#9837DE #DE9837 #37DE98
tetradic
#9837DE #DE4537 #7DDE37 #37D1DE
square
#9837DE #DE4537 #7DDE37 #37D1DE
split-complementary
#9837DE #D1DE37 #37DE45
monochromatic
#561685 #781FB9 #9837DE #B36CE7 #CEA0EF

Accessibility & contrast

On white

5.33
#9837DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9837DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9837DE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9837DE#FFFFFF#000000##FFFFFF
##9837DE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#8C6189
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9837de;
/* rgb */ color: rgb(152, 55, 222);
/* oklch */ color: oklch(55.8% 0.238 306.4);
Tailwind
colors: {
  custom: {
    50: '#bc78e9',
    500: '#9837de',
    950: '#000000',
  },
}
SCSS
$custom: #9837de;
$custom-light: #bc78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9837de",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 222
  },
  "hsl": {
    "h": 274.85,
    "s": 71.674,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.23848,
    "h": 306.4
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#9837DE
secondary
#B3DC95
accent
#EE3985
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9837DE

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

Preview Lab → · Contrast checker → · Palette generator →

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