#9E268D#9E268D

#9E268D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.190 H 334.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9E268D
RGBrgb(158, 38, 141)
HSLhsl(309, 61%, 38%)
HSVhsv(309, 76%, 62%)
CMYKcmyk(0%, 75.9%, 10.8%, 38%)
CIE-LABlab(38.86, 58.92, -29.81)
CIE-LCHlch(38.86, 66.04, 333.16°)
OKLaboklab(49.81% 0.1716 -0.0816)
OKLCHoklch(49.81% 0.19 334.6)
XYZxyz(19.6016, 10.5801, 26.2040)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E268D #269E37
analogous
#73269E #9E268D #9E2651
triadic
#9E268D #8D9E26 #268D9E
tetradic
#9E268D #9E7326 #269E37 #26519E
square
#9E268D #9E7326 #269E37 #26519E
split-complementary
#9E268D #519E26 #269E73
monochromatic
#3B0E35 #6D1A61 #9E268D #CE33B8 #DA65C9

Accessibility & contrast

On white

6.74
#9E268D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9E268D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E268D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E268D#FFFFFF#000000##FFFFFF
##9E268D1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A63157
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e268d;
/* rgb */ color: rgb(158, 38, 141);
/* oklch */ color: oklch(49.8% 0.190 334.6);
Tailwind
colors: {
  custom: {
    50: '#be6eae',
    500: '#9e268d',
    950: '#000000',
  },
}
SCSS
$custom: #9e268d;
$custom-light: #be6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e268d",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 308.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.18997,
    "h": 334.6
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#9E268D
secondary
#60C06E
accent
#E45A43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E268D

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

Preview Lab → · Contrast checker → · Palette generator →

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