#9539B2#9539B2

#9539B2 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.194 H 317.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9539B2
RGBrgb(149, 57, 178)
HSLhsl(286, 51%, 46%)
HSVhsv(286, 68%, 70%)
CMYKcmyk(16.3%, 68%, 0%, 30.2%)
CIE-LABlab(42.05, 56.29, -47.08)
CIE-LCHlch(42.05, 73.38, 320.09°)
OKLaboklab(52.5% 0.1417 -0.1321)
OKLCHoklch(52.5% 0.194 317)
XYZxyz(21.8922, 12.5311, 43.3764)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9539B2 #56B239
analogous
#5839B2 #9539B2 #B23992
triadic
#9539B2 #B29539 #39B295
tetradic
#9539B2 #B25839 #56B239 #3992B2
square
#9539B2 #B25839 #56B239 #3992B2
split-complementary
#9539B2 #92B239 #39B258
monochromatic
#471B55 #6E2A84 #9539B2 #B15DCB #C78BDA

Accessibility & contrast

On white

5.99
#9539B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9539B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9539B2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9539B2#FFFFFF#000000##FFFFFF
##9539B21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#945071
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9539b2;
/* rgb */ color: rgb(149, 57, 178);
/* oklch */ color: oklch(52.5% 0.194 317.0);
Tailwind
colors: {
  custom: {
    50: '#b877ca',
    500: '#9539b2',
    950: '#000000',
  },
}
SCSS
$custom: #9539b2;
$custom-light: #b877ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9539b2",
  "rgb": {
    "r": 149,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 285.62,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.19372,
    "h": 317
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#9539B2
secondary
#92C482
accent
#DB4D6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9539B2

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

Preview Lab → · Contrast checker → · Palette generator →

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