#9839BC#9839BC

#9839BC is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.5% C 0.204 H 315.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9839BC
RGBrgb(152, 57, 188)
HSLhsl(284, 53%, 48%)
HSVhsv(284, 70%, 74%)
CMYKcmyk(19.1%, 69.7%, 0%, 26.3%)
CIE-LABlab(43.11, 58.97, -51.23)
CIE-LCHlch(43.11, 78.11, 319.02°)
OKLaboklab(53.55% 0.1447 -0.1442)
OKLCHoklch(53.55% 0.204 315.1)
XYZxyz(23.4877, 13.2333, 48.8842)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9839BC #5DBC39
analogous
#5639BC #9839BC #BC399F
triadic
#9839BC #BC9839 #39BC98
tetradic
#9839BC #BC5639 #5DBC39 #399FBC
square
#9839BC #BC5639 #5DBC39 #399FBC
split-complementary
#9839BC #9FBC39 #39BC56
monochromatic
#4C1D5E #722B8D #9839BC #B263D0 #C992DE

Accessibility & contrast

On white

5.76
#9839BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9839BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9839BC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9839BC#FFFFFF#000000##FFFFFF
##9839BC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#955476
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9839bc;
/* rgb */ color: rgb(152, 57, 188);
/* oklch */ color: oklch(53.5% 0.204 315.1);
Tailwind
colors: {
  custom: {
    50: '#ba77d1',
    500: '#9839bc',
    950: '#000000',
  },
}
SCSS
$custom: #9839bc;
$custom-light: #ba77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9839bc",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 283.511,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.20429,
    "h": 315.1
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#9839BC
secondary
#9AC988
accent
#DD4B73
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9839BC

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

Preview Lab → · Contrast checker → · Palette generator →

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