#9B27D0#9B27D0

#9B27D0 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.8% C 0.241 H 311.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9B27D0
RGBrgb(155, 39, 208)
HSLhsl(281, 68%, 48%)
HSVhsv(281, 81%, 82%)
CMYKcmyk(25.5%, 81.3%, 0%, 18.4%)
CIE-LABlab(42.72, 69.89, -63.46)
CIE-LCHlch(42.72, 94.40, 317.76°)
OKLaboklab(53.8% 0.161 -0.1799)
OKLCHoklch(53.8% 0.241 311.8)
XYZxyz(25.6261, 12.9744, 60.8167)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B27D0 #5CD027
analogous
#4627D0 #9B27D0 #D027B0
triadic
#9B27D0 #D09B27 #27D09B
tetradic
#9B27D0 #D04627 #5CD027 #27B0D0
square
#9B27D0 #D04627 #5CD027 #27B0D0
split-complementary
#9B27D0 #B0D027 #27D046
monochromatic
#4E1469 #751D9C #9B27D0 #B455DF #CB89E9

Accessibility & contrast

On white

5.84
#9B27D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9B27D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B27D0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B27D0#FFFFFF#000000##FFFFFF
##9B27D01.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#94537E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b27d0;
/* rgb */ color: rgb(155, 39, 208);
/* oklch */ color: oklch(53.8% 0.241 311.8);
Tailwind
colors: {
  custom: {
    50: '#be71df',
    500: '#9b27d0',
    950: '#000000',
  },
}
SCSS
$custom: #9b27d0;
$custom-light: #be71df;
$custom-dark: #000000;
JSON
{
  "hex": "#9b27d0",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 208
  },
  "hsl": {
    "h": 281.183,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.24141,
    "h": 311.8
  },
  "luminance": 0.12974
}

Semantic roles & 50–950 ramp

primary
#9B27D0
secondary
#9AD280
accent
#EB3D73
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B27D0

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

Preview Lab → · Contrast checker → · Palette generator →

#9B27D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva