#9839BE#9839BE

#9839BE is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.206 H 314.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9839BE
RGBrgb(152, 57, 190)
HSLhsl(283, 54%, 48%)
HSVhsv(283, 70%, 75%)
CMYKcmyk(20%, 70%, 0%, 25.5%)
CIE-LABlab(43.24, 59.38, -52.19)
CIE-LCHlch(43.24, 79.05, 318.69°)
OKLaboklab(53.68% 0.1445 -0.147)
OKLCHoklch(53.68% 0.206 314.5)
XYZxyz(23.7047, 13.3202, 50.0276)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9839BE #5FBE39
analogous
#5539BE #9839BE #BE39A1
triadic
#9839BE #BE9839 #39BE98
tetradic
#9839BE #BE5539 #5FBE39 #39A1BE
square
#9839BE #BE5539 #5FBE39 #39A1BE
split-complementary
#9839BE #A1BE39 #39BE55
monochromatic
#4D1D60 #722B8F #9839BE #B164D0 #C993DF

Accessibility & contrast

On white

5.73
#9839BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9839BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9839BE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9839BE#FFFFFF#000000##FFFFFF
##9839BE1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#3369BB
Tritanopia (blue-blind)
#955478
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9839be;
/* rgb */ color: rgb(152, 57, 190);
/* oklch */ color: oklch(53.7% 0.206 314.5);
Tailwind
colors: {
  custom: {
    50: '#ba77d2',
    500: '#9839be',
    950: '#000000',
  },
}
SCSS
$custom: #9839be;
$custom-light: #ba77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9839be",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 282.857,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53683,
    "c": 0.20616,
    "h": 314.5
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#9839BE
secondary
#9CCA89
accent
#DD4B74
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9839BE

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

Preview Lab → · Contrast checker → · Palette generator →

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