#9E2FC9#9E2FC9

#9E2FC9 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.229 H 314.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9E2FC9
RGBrgb(158, 47, 201)
HSLhsl(283, 62%, 49%)
HSVhsv(283, 77%, 79%)
CMYKcmyk(21.4%, 76.6%, 0%, 21.2%)
CIE-LABlab(43.54, 66.52, -58.07)
CIE-LCHlch(43.54, 88.30, 318.88°)
OKLaboklab(54.3% 0.16 -0.164)
OKLCHoklch(54.3% 0.229 314.3)
XYZxyz(25.6579, 13.5201, 56.5051)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FC9 #5AC92F
analogous
#512FC9 #9E2FC9 #C92FA7
triadic
#9E2FC9 #C99E2F #2FC99E
tetradic
#9E2FC9 #C9512F #5AC92F #2FA7C9
square
#9E2FC9 #C9512F #5AC92F #2FA7C9
split-complementary
#9E2FC9 #A7C92F #2FC951
monochromatic
#501866 #772397 #9E2FC9 #B65CD9 #CC8EE5

Accessibility & contrast

On white

5.67
#9E2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9E2FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FC9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FC9#FFFFFF#000000##FFFFFF
##9E2FC91.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#2369C6
Tritanopia (blue-blind)
#9A537B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e2fc9;
/* rgb */ color: rgb(158, 47, 201);
/* oklch */ color: oklch(54.3% 0.229 314.3);
Tailwind
colors: {
  custom: {
    50: '#bf74da',
    500: '#9e2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fc9;
$custom-light: #bf74da;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fc9",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 283.247,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.22916,
    "h": 314.3
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#9E2FC9
secondary
#9ACF85
accent
#E54370
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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