#9539CB#9539CB

#9539CB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.2% C 0.218 H 309.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9539CB
RGBrgb(149, 57, 203)
HSLhsl(278, 58%, 51%)
HSVhsv(278, 72%, 80%)
CMYKcmyk(26.6%, 71.9%, 0%, 20.4%)
CIE-LABlab(43.69, 61.49, -59.04)
CIE-LCHlch(43.69, 85.24, 316.16°)
OKLaboklab(54.2% 0.1391 -0.1672)
OKLCHoklch(54.2% 0.218 309.8)
XYZxyz(24.6349, 13.6281, 57.8211)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9539CB #6FCB39
analogous
#4C39CB #9539CB #CB39B8
triadic
#9539CB #CB9539 #39CB95
tetradic
#9539CB #CB4C39 #6FCB39 #39B8CB
square
#9539CB #CB4C39 #6FCB39 #39B8CB
split-complementary
#9539CB #B8CB39 #39CB4C
monochromatic
#4F1D6D #73299D #9539CB #AF69D8 #C99AE4

Accessibility & contrast

On white

5.64
#9539CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9539CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9539CB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9539CB#FFFFFF#000000##FFFFFF
##9539CB1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#1969C8
Tritanopia (blue-blind)
#8D5A7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9539cb;
/* rgb */ color: rgb(149, 57, 203);
/* oklch */ color: oklch(54.2% 0.218 309.8);
Tailwind
colors: {
  custom: {
    50: '#b978dc',
    500: '#9539cb',
    950: '#000000',
  },
}
SCSS
$custom: #9539cb;
$custom-light: #b978dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9539cb",
  "rgb": {
    "r": 149,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 277.808,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.21753,
    "h": 309.8
  },
  "luminance": 0.13628
}

Semantic roles & 50–950 ramp

primary
#9539CB
secondary
#A7D090
accent
#E24680
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9539CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9539CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva