#9E2FD2#9E2FD2

#9E2FD2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.237 H 311.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9E2FD2
RGBrgb(158, 47, 210)
HSLhsl(281, 64%, 50%)
HSVhsv(281, 78%, 82%)
CMYKcmyk(24.8%, 77.6%, 0%, 17.6%)
CIE-LABlab(44.17, 68.30, -62.25)
CIE-LCHlch(44.17, 92.41, 317.66°)
OKLaboklab(54.95% 0.1584 -0.1763)
OKLCHoklch(54.95% 0.237 311.9)
XYZxyz(26.7478, 13.9560, 62.2450)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FD2 #63D22F
analogous
#4C2FD2 #9E2FD2 #D22FB4
triadic
#9E2FD2 #D29E2F #2FD29E
tetradic
#9E2FD2 #D24C2F #63D22F #2FB4D2
square
#9E2FD2 #D24C2F #63D22F #2FB4D2
split-complementary
#9E2FD2 #B4D22F #2FD24C
monochromatic
#53186F #7923A1 #9E2FD2 #B561DD #CD94E8

Accessibility & contrast

On white

5.54
#9E2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9E2FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FD2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FD2#FFFFFF#000000##FFFFFF
##9E2FD21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0A6ACF
Tritanopia (blue-blind)
#985780
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e2fd2;
/* rgb */ color: rgb(158, 47, 210);
/* oklch */ color: oklch(54.9% 0.237 311.9);
Tailwind
colors: {
  custom: {
    50: '#c074e1',
    500: '#9e2fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fd2;
$custom-light: #c074e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fd2",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 280.859,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.23701,
    "h": 311.9
  },
  "luminance": 0.13955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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