#9A27D0#9A27D0

#9A27D0 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.7% C 0.241 H 311.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9A27D0
RGBrgb(154, 39, 208)
HSLhsl(281, 68%, 48%)
HSVhsv(281, 81%, 82%)
CMYKcmyk(26%, 81.3%, 0%, 18.4%)
CIE-LABlab(42.58, 69.73, -63.71)
CIE-LCHlch(42.58, 94.45, 317.58°)
OKLaboklab(53.67% 0.1597 -0.1807)
OKLCHoklch(53.67% 0.241 311.5)
XYZxyz(25.4349, 12.8758, 60.8077)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A27D0 #5DD027
analogous
#4527D0 #9A27D0 #D027B1
triadic
#9A27D0 #D09A27 #27D09A
tetradic
#9A27D0 #D04527 #5DD027 #27B1D0
square
#9A27D0 #D04527 #5DD027 #27B1D0
split-complementary
#9A27D0 #B1D027 #27D045
monochromatic
#4E1469 #741D9C #9A27D0 #B355DF #CA89E9

Accessibility & contrast

On white

5.87
#9A27D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9A27D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A27D0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A27D0#FFFFFF#000000##FFFFFF
##9A27D01.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#93537E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a27d0;
/* rgb */ color: rgb(154, 39, 208);
/* oklch */ color: oklch(53.7% 0.241 311.5);
Tailwind
colors: {
  custom: {
    50: '#bd71df',
    500: '#9a27d0',
    950: '#000000',
  },
}
SCSS
$custom: #9a27d0;
$custom-light: #bd71df;
$custom-dark: #000000;
JSON
{
  "hex": "#9a27d0",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 208
  },
  "hsl": {
    "h": 280.828,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.24112,
    "h": 311.5
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#9A27D0
secondary
#9BD280
accent
#EB3D74
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A27D0

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

Preview Lab → · Contrast checker → · Palette generator →

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