#9F2FD2#9F2FD2

#9F2FD2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.1% C 0.237 H 312.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9F2FD2
RGBrgb(159, 47, 210)
HSLhsl(281, 64%, 50%)
HSVhsv(281, 78%, 82%)
CMYKcmyk(24.3%, 77.6%, 0%, 17.6%)
CIE-LABlab(44.32, 68.48, -62.00)
CIE-LCHlch(44.32, 92.38, 317.84°)
OKLaboklab(55.08% 0.1597 -0.1756)
OKLCHoklch(55.08% 0.237 312.3)
XYZxyz(26.9453, 14.0579, 62.2543)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FD2 #62D22F
analogous
#4D2FD2 #9F2FD2 #D22FB3
triadic
#9F2FD2 #D29F2F #2FD29F
tetradic
#9F2FD2 #D24D2F #62D22F #2FB3D2
square
#9F2FD2 #D24D2F #62D22F #2FB3D2
split-complementary
#9F2FD2 #B3D22F #2FD24D
monochromatic
#54186F #7A23A1 #9F2FD2 #B661DD #CD94E8

Accessibility & contrast

On white

5.51
#9F2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9F2FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FD2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FD2#FFFFFF#000000##FFFFFF
##9F2FD21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0F6BCF
Tritanopia (blue-blind)
#995780
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f2fd2;
/* rgb */ color: rgb(159, 47, 210);
/* oklch */ color: oklch(55.1% 0.237 312.3);
Tailwind
colors: {
  custom: {
    50: '#c074e1',
    500: '#9f2fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fd2;
$custom-light: #c074e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fd2",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 281.227,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.2373,
    "h": 312.3
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#9F2FD2
secondary
#A1D38A
accent
#E74075
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F2FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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