#9839DE#9839DE

#9839DE is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 56.0% C 0.236 H 306.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9839DE
RGBrgb(152, 57, 222)
HSLhsl(275, 71%, 55%)
HSVhsv(275, 74%, 87%)
CMYKcmyk(31.5%, 74.3%, 0%, 12.9%)
CIE-LABlab(45.46, 66.15, -67.06)
CIE-LCHlch(45.46, 94.19, 314.61°)
OKLaboklab(55.96% 0.1398 -0.1907)
OKLCHoklch(55.96% 0.236 306.2)
XYZxyz(27.5939, 14.8758, 70.5107)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9839DE #7FDE39
analogous
#4539DE #9839DE #DE39D2
triadic
#9839DE #DE9839 #39DE98
tetradic
#9839DE #DE4539 #7FDE39 #39D2DE
square
#9839DE #DE4539 #7FDE39 #39D2DE
split-complementary
#9839DE #D2DE39 #39DE45
monochromatic
#571686 #791FBB #9839DE #B36DE7 #CFA2EF

Accessibility & contrast

On white

5.28
#9839DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9839DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9839DE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9839DE#FFFFFF#000000##FFFFFF
##9839DE1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#8C6289
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9839de;
/* rgb */ color: rgb(152, 57, 222);
/* oklch */ color: oklch(56.0% 0.236 306.2);
Tailwind
colors: {
  custom: {
    50: '#bc79e9',
    500: '#9839de',
    950: '#000000',
  },
}
SCSS
$custom: #9839de;
$custom-light: #bc79e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9839de",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 222
  },
  "hsl": {
    "h": 274.545,
    "s": 71.429,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.23643,
    "h": 306.2
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#9839DE
secondary
#B4DC97
accent
#EE3A86
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9839DE

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

Preview Lab → · Contrast checker → · Palette generator →

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