#9E229F#9E229F

#9E229F is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.207 H 327.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9E229F
RGBrgb(158, 34, 159)
HSLhsl(300, 65%, 38%)
HSVhsv(300, 79%, 62%)
CMYKcmyk(0.6%, 78.6%, 0%, 37.6%)
CIE-LABlab(39.44, 62.96, -39.83)
CIE-LCHlch(39.44, 74.50, 327.68°)
OKLaboklab(50.55% 0.1753 -0.1105)
OKLCHoklch(50.55% 0.207 327.8)
XYZxyz(20.9303, 10.9179, 33.7991)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E229F #239F22
analogous
#5F229F #9E229F #9F2261
triadic
#9E229F #9F9E22 #229F9E
tetradic
#9E229F #9F5F22 #239F22 #22619F
square
#9E229F #9F5F22 #239F22 #22619F
split-complementary
#9E229F #619F22 #229F5F
monochromatic
#3A0C3A #6C176D #9E229F #D02DD1 #DC5FDD

Accessibility & contrast

On white

6.60
#9E229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9E229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E229F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E229F#FFFFFF#000000##FFFFFF
##9E229F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#A33860
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e229f;
/* rgb */ color: rgb(158, 34, 159);
/* oklch */ color: oklch(50.5% 0.207 327.8);
Tailwind
colors: {
  custom: {
    50: '#bf6dbc',
    500: '#9e229f',
    950: '#000000',
  },
}
SCSS
$custom: #9e229f;
$custom-light: #bf6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e229f",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 299.52,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.20722,
    "h": 327.8
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#9E229F
secondary
#5CC15B
accent
#E84041
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E229F

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

Preview Lab → · Contrast checker → · Palette generator →

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