#9E2095#9E2095

#9E2095 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.202 H 331.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9E2095
RGBrgb(158, 32, 149)
HSLhsl(304, 66%, 37%)
HSVhsv(304, 80%, 62%)
CMYKcmyk(0%, 79.7%, 5.7%, 38%)
CIE-LABlab(38.68, 61.92, -34.98)
CIE-LCHlch(38.68, 71.12, 330.53°)
OKLaboklab(49.82% 0.177 -0.0965)
OKLCHoklch(49.82% 0.202 331.4)
XYZxyz(20.0419, 10.4737, 29.3940)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2095 #209E29
analogous
#68209E #9E2095 #9E2056
triadic
#9E2095 #959E20 #20959E
tetradic
#9E2095 #9E6820 #209E29 #20569E
square
#9E2095 #9E6820 #209E29 #20569E
split-complementary
#9E2095 #569E20 #209E68
monochromatic
#380B35 #6B1665 #9E2095 #D12AC5 #DE5BD4

Accessibility & contrast

On white

6.79
#9E2095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E2095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2095
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2095#FFFFFF#000000##FFFFFF
##9E20951.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#4B6192
Tritanopia (blue-blind)
#A5315A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2095;
/* rgb */ color: rgb(158, 32, 149);
/* oklch */ color: oklch(49.8% 0.202 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6cb4',
    500: '#9e2095',
    950: '#000000',
  },
}
SCSS
$custom: #9e2095;
$custom-light: #bf6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2095",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 304.286,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4982,
    "c": 0.20159,
    "h": 331.4
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#9E2095
secondary
#58C260
accent
#E94B3F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E2095

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

Preview Lab → · Contrast checker → · Palette generator →

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