#9F27D0#9F27D0

#9F27D0 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.3% C 0.243 H 313.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9F27D0
RGBrgb(159, 39, 208)
HSLhsl(283, 68%, 48%)
HSVhsv(283, 81%, 82%)
CMYKcmyk(23.6%, 81.3%, 0%, 18.4%)
CIE-LABlab(43.33, 70.54, -62.46)
CIE-LCHlch(43.33, 94.22, 318.48°)
OKLaboklab(54.34% 0.1661 -0.1768)
OKLCHoklch(54.34% 0.243 313.2)
XYZxyz(26.4067, 13.3769, 60.8532)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F27D0 #58D027
analogous
#4B27D0 #9F27D0 #D027AC
triadic
#9F27D0 #D09F27 #27D09F
tetradic
#9F27D0 #D04B27 #58D027 #27ACD0
square
#9F27D0 #D04B27 #58D027 #27ACD0
split-complementary
#9F27D0 #ACD027 #27D04B
monochromatic
#501469 #781D9C #9F27D0 #B755DF #CD89E9

Accessibility & contrast

On white

5.71
#9F27D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9F27D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F27D0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F27D0#FFFFFF#000000##FFFFFF
##9F27D01.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0369CD
Tritanopia (blue-blind)
#9A527E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f27d0;
/* rgb */ color: rgb(159, 39, 208);
/* oklch */ color: oklch(54.3% 0.243 313.2);
Tailwind
colors: {
  custom: {
    50: '#c171df',
    500: '#9f27d0',
    950: '#000000',
  },
}
SCSS
$custom: #9f27d0;
$custom-light: #c171df;
$custom-dark: #000000;
JSON
{
  "hex": "#9f27d0",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 208
  },
  "hsl": {
    "h": 282.604,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.24257,
    "h": 313.2
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#9F27D0
secondary
#98D280
accent
#EB3D6F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F27D0

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

Preview Lab → · Contrast checker → · Palette generator →

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