#9839C8#9839C8

#9839C8 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.4% C 0.216 H 311.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9839C8
RGBrgb(152, 57, 200)
HSLhsl(280, 57%, 50%)
HSVhsv(280, 72%, 78%)
CMYKcmyk(24%, 71.5%, 0%, 21.6%)
CIE-LABlab(43.90, 61.44, -56.94)
CIE-LCHlch(43.90, 83.77, 317.18°)
OKLaboklab(54.37% 0.1434 -0.161)
OKLCHoklch(54.37% 0.216 311.7)
XYZxyz(24.8354, 13.7724, 55.9824)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9839C8 #69C839
analogous
#5039C8 #9839C8 #C839B1
triadic
#9839C8 #C89839 #39C898
tetradic
#9839C8 #C85039 #69C839 #39B1C8
square
#9839C8 #C85039 #69C839 #39B1C8
split-complementary
#9839C8 #B1C839 #39C850
monochromatic
#501D69 #742B99 #9839C8 #B169D5 #CA99E3

Accessibility & contrast

On white

5.59
#9839C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9839C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9839C8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9839C8#FFFFFF#000000##FFFFFF
##9839C81.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#256AC5
Tritanopia (blue-blind)
#92587D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9839c8;
/* rgb */ color: rgb(152, 57, 200);
/* oklch */ color: oklch(54.4% 0.216 311.7);
Tailwind
colors: {
  custom: {
    50: '#bb78d9',
    500: '#9839c8',
    950: '#000000',
  },
}
SCSS
$custom: #9839c8;
$custom-light: #bb78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9839c8",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 279.86,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54366,
    "c": 0.21559,
    "h": 311.7
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#9839C8
secondary
#A4CE8F
accent
#E0487B
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9839C8

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

Preview Lab → · Contrast checker → · Palette generator →

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