#9F1BD2#9F1BD2

#9F1BD2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.8% C 0.253 H 313.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9F1BD2
RGBrgb(159, 27, 210)
HSLhsl(283, 77%, 46%)
HSVhsv(283, 87%, 82%)
CMYKcmyk(24.3%, 87.1%, 0%, 17.6%)
CIE-LABlab(42.47, 73.86, -64.99)
CIE-LCHlch(42.47, 98.39, 318.65°)
OKLaboklab(53.8% 0.1727 -0.1842)
OKLCHoklch(53.8% 0.253 313.1)
XYZxyz(26.3208, 12.8088, 62.0461)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1BD2 #4ED21B
analogous
#441BD2 #9F1BD2 #D21BAA
triadic
#9F1BD2 #D29F1B #1BD29F
tetradic
#9F1BD2 #D2441B #4ED21B #1BAAD2
square
#9F1BD2 #D2441B #4ED21B #1BAAD2
split-complementary
#9F1BD2 #AAD21B #1BD244
monochromatic
#4D0D66 #76149C #9F1BD2 #B943E7 #CD7AEE

Accessibility & contrast

On white

5.90
#9F1BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9F1BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1BD2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1BD2#FFFFFF#000000##FFFFFF
##9F1BD21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#994F7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f1bd2;
/* rgb */ color: rgb(159, 27, 210);
/* oklch */ color: oklch(53.8% 0.253 313.1);
Tailwind
colors: {
  custom: {
    50: '#c16de1',
    500: '#9f1bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9f1bd2;
$custom-light: #c16de1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1bd2",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 210
  },
  "hsl": {
    "h": 283.279,
    "s": 77.215,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.25251,
    "h": 313.1
  },
  "luminance": 0.12808
}

Semantic roles & 50–950 ramp

primary
#9F1BD2
secondary
#8FD573
accent
#F43469
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9F1BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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