#9E2097#9E2097

#9E2097 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.203 H 330.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9E2097
RGBrgb(158, 32, 151)
HSLhsl(303, 66%, 37%)
HSVhsv(303, 80%, 62%)
CMYKcmyk(0%, 79.7%, 4.4%, 38%)
CIE-LABlab(38.79, 62.23, -36.02)
CIE-LCHlch(38.79, 71.90, 329.93°)
OKLaboklab(49.94% 0.177 -0.0995)
OKLCHoklch(49.94% 0.203 330.7)
XYZxyz(20.2029, 10.5381, 30.2422)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2097 #209E27
analogous
#66209E #9E2097 #9E2058
triadic
#9E2097 #979E20 #20979E
tetradic
#9E2097 #9E6620 #209E27 #20589E
square
#9E2097 #9E6620 #209E27 #20589E
split-complementary
#9E2097 #589E20 #209E66
monochromatic
#380B36 #6B1666 #9E2097 #D12AC8 #DE5BD6

Accessibility & contrast

On white

6.76
#9E2097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9E2097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2097
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2097#FFFFFF#000000##FFFFFF
##9E20971.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D509A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#A4325B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2097;
/* rgb */ color: rgb(158, 32, 151);
/* oklch */ color: oklch(49.9% 0.203 330.7);
Tailwind
colors: {
  custom: {
    50: '#bf6cb6',
    500: '#9e2097',
    950: '#000000',
  },
}
SCSS
$custom: #9e2097;
$custom-light: #bf6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2097",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 303.333,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.20306,
    "h": 330.7
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#9E2097
secondary
#58C25E
accent
#E9483F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E2097

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

Preview Lab → · Contrast checker → · Palette generator →

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