#9E29EA#9E29EA

#9E29EA is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 56.3% C 0.263 H 306.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9E29EA
RGBrgb(158, 41, 234)
HSLhsl(276, 82%, 54%)
HSVhsv(276, 82%, 92%)
CMYKcmyk(32.5%, 82.5%, 0%, 8.2%)
CIE-LABlab(45.35, 75.00, -74.02)
CIE-LCHlch(45.35, 105.38, 315.38°)
OKLaboklab(56.34% 0.1568 -0.2108)
OKLCHoklch(56.34% 0.263 306.6)
XYZxyz(29.7415, 14.7958, 79.1150)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E29EA #75EA29
analogous
#3E29EA #9E29EA #EA29D6
triadic
#9E29EA #EA9E29 #29EA9E
tetradic
#9E29EA #EA3E29 #75EA29 #29D6EA
square
#9E29EA #EA3E29 #75EA29 #29D6EA
split-complementary
#9E29EA #D6EA29 #29EA3E
monochromatic
#5A0E8B #7E13C3 #9E29EA #B761EF #D198F5

Accessibility & contrast

On white

5.30
#9E29EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9E29EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E29EA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E29EA#FFFFFF#000000##FFFFFF
##9E29EA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#905F8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e29ea;
/* rgb */ color: rgb(158, 41, 234);
/* oklch */ color: oklch(56.3% 0.263 306.6);
Tailwind
colors: {
  custom: {
    50: '#c273f2',
    500: '#9e29ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e29ea;
$custom-light: #c273f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e29ea",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 234
  },
  "hsl": {
    "h": 276.373,
    "s": 82.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.26277,
    "h": 306.6
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#9E29EA
secondary
#AFE18E
accent
#F82F7F
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130917
muted
#827B85

Preview Lab

Preview with #9E29EA

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

Preview Lab → · Contrast checker → · Palette generator →

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