#9F2DBC#9F2DBC

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

Color values

HEX#9F2DBC
RGBrgb(159, 45, 188)
HSLhsl(288, 61%, 46%)
HSVhsv(288, 76%, 74%)
CMYKcmyk(15.4%, 76.1%, 0%, 26.3%)
CIE-LABlab(42.58, 64.89, -52.02)
CIE-LCHlch(42.58, 83.17, 321.28°)
OKLaboklab(53.38% 0.1648 -0.1462)
OKLCHoklch(53.38% 0.22 318.4)
XYZxyz(24.3123, 12.8797, 48.7726)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DBC #4ABC2D
analogous
#572DBC #9F2DBC #BC2D91
triadic
#9F2DBC #BC9F2D #2DBC9F
tetradic
#9F2DBC #BC572D #4ABC2D #2D91BC
square
#9F2DBC #BC572D #4ABC2D #2D91BC
split-complementary
#9F2DBC #91BC2D #2DBC57
monochromatic
#4B1559 #75218B #9F2DBC #BA51D5 #CE82E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2DBC#FFFFFF#000000##FFFFFF
##9F2DBC1.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)
#005DC0
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#9E4C73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2dbc;
/* rgb */ color: rgb(159, 45, 188);
/* oklch */ color: oklch(53.4% 0.220 318.4);
Tailwind
colors: {
  custom: {
    50: '#c073d1',
    500: '#9f2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #9f2dbc;
$custom-light: #c073d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2dbc",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 287.832,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.22036,
    "h": 318.4
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#9F2DBC
secondary
#8BCA7B
accent
#E44364
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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