#9839BD#9839BD

#9839BD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.6% C 0.205 H 314.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9839BD
RGBrgb(152, 57, 189)
HSLhsl(283, 54%, 48%)
HSVhsv(283, 70%, 74%)
CMYKcmyk(19.6%, 69.8%, 0%, 25.9%)
CIE-LABlab(43.18, 59.17, -51.71)
CIE-LCHlch(43.18, 78.58, 318.85°)
OKLaboklab(53.62% 0.1446 -0.1456)
OKLCHoklch(53.62% 0.205 314.8)
XYZxyz(23.5958, 13.2766, 49.4539)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9839BD #5EBD39
analogous
#5639BD #9839BD #BD39A0
triadic
#9839BD #BD9839 #39BD98
tetradic
#9839BD #BD5639 #5EBD39 #39A0BD
square
#9839BD #BD5639 #5EBD39 #39A0BD
split-complementary
#9839BD #A0BD39 #39BD56
monochromatic
#4C1D5F #722B8E #9839BD #B263D0 #C992DE

Accessibility & contrast

On white

5.75
#9839BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9839BD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9839BD#FFFFFF#000000##FFFFFF
##9839BD1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#3468BA
Tritanopia (blue-blind)
#955477
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9839bd;
/* rgb */ color: rgb(152, 57, 189);
/* oklch */ color: oklch(53.6% 0.205 314.8);
Tailwind
colors: {
  custom: {
    50: '#ba77d2',
    500: '#9839bd',
    950: '#000000',
  },
}
SCSS
$custom: #9839bd;
$custom-light: #ba77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9839bd",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 283.182,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.20522,
    "h": 314.8
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

primary
#9839BD
secondary
#9BC989
accent
#DD4B74
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9839BD

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

Preview Lab → · Contrast checker → · Palette generator →

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