#9E1FBC#9E1FBC

#9E1FBC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.3% C 0.232 H 318.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9E1FBC
RGBrgb(158, 31, 188)
HSLhsl(289, 72%, 43%)
HSVhsv(289, 84%, 74%)
CMYKcmyk(16%, 83.5%, 0%, 26.3%)
CIE-LABlab(41.03, 68.75, -54.54)
CIE-LCHlch(41.03, 87.76, 321.58°)
OKLaboklab(52.26% 0.1742 -0.1536)
OKLCHoklch(52.26% 0.232 318.6)
XYZxyz(23.6664, 11.8811, 48.6139)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1FBC #3DBC1F
analogous
#4F1FBC #9E1FBC #BC1F8B
triadic
#9E1FBC #BC9E1F #1FBC9E
tetradic
#9E1FBC #BC4F1F #3DBC1F #1F8BBC
square
#9E1FBC #BC4F1F #3DBC1F #1F8BBC
split-complementary
#9E1FBC #8BBC1F #1FBC4F
monochromatic
#460E53 #721687 #9E1FBC #BF3ADE #D06EE7

Accessibility & contrast

On white

6.22
#9E1FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9E1FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1FBC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1FBC#FFFFFF#000000##FFFFFF
##9E1FBC1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#9D4571
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e1fbc;
/* rgb */ color: rgb(158, 31, 188);
/* oklch */ color: oklch(52.3% 0.232 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf6dd1',
    500: '#9e1fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9e1fbc;
$custom-light: #bf6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1fbc",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 188
  },
  "hsl": {
    "h": 288.535,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.23219,
    "h": 318.6
  },
  "luminance": 0.1188
}

Semantic roles & 50–950 ramp

primary
#9E1FBC
secondary
#7DCD69
accent
#EE395C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9E1FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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