#9E268B#9E268B

#9E268B is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.189 H 335.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E268B
RGBrgb(158, 38, 139)
HSLhsl(310, 61%, 38%)
HSVhsv(310, 76%, 62%)
CMYKcmyk(0%, 75.9%, 12%, 38%)
CIE-LABlab(38.76, 58.62, -28.74)
CIE-LCHlch(38.76, 65.29, 333.88°)
OKLaboklab(49.71% 0.1714 -0.0785)
OKLCHoklch(49.71% 0.189 335.4)
XYZxyz(19.4541, 10.5212, 25.4273)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E268B #269E39
analogous
#75269E #9E268B #9E264F
triadic
#9E268B #8B9E26 #268B9E
tetradic
#9E268B #9E7526 #269E39 #264F9E
square
#9E268B #9E7526 #269E39 #264F9E
split-complementary
#9E268B #4F9E26 #269E75
monochromatic
#3B0E34 #6D1A60 #9E268B #CE33B5 #DA65C7

Accessibility & contrast

On white

6.77
#9E268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E268B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E268B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E268B#FFFFFF#000000##FFFFFF
##9E268B1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#526288
Tritanopia (blue-blind)
#A63056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e268b;
/* rgb */ color: rgb(158, 38, 139);
/* oklch */ color: oklch(49.7% 0.189 335.4);
Tailwind
colors: {
  custom: {
    50: '#be6ead',
    500: '#9e268b',
    950: '#000000',
  },
}
SCSS
$custom: #9e268b;
$custom-light: #be6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#9e268b",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 309.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49707,
    "c": 0.18854,
    "h": 335.4
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#9E268B
secondary
#60C06F
accent
#E45D43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E268B

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

Preview Lab → · Contrast checker → · Palette generator →

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