#9E4CD2#9E4CD2

#9E4CD2 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.203 H 309.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9E4CD2
RGBrgb(158, 76, 210)
HSLhsl(277, 60%, 56%)
HSVhsv(277, 64%, 82%)
CMYKcmyk(24.8%, 63.8%, 0%, 17.6%)
CIE-LABlab(48.38, 56.46, -55.46)
CIE-LCHlch(48.38, 79.14, 315.51°)
OKLaboklab(57.95% 0.1297 -0.1565)
OKLCHoklch(57.95% 0.203 309.6)
XYZxyz(28.3156, 17.0917, 62.7676)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CD2 #80D24C
analogous
#5B4CD2 #9E4CD2 #D24CC3
triadic
#9E4CD2 #D29E4C #4CD29E
tetradic
#9E4CD2 #D25B4C #80D24C #4CC3D2
square
#9E4CD2 #D25B4C #80D24C #4CC3D2
split-complementary
#9E4CD2 #C3D24C #4CD25B
monochromatic
#5D2183 #7F2DB4 #9E4CD2 #B97DDE #D3AEEB

Accessibility & contrast

On white

4.75
#9E4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9E4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4CD2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4CD2#FFFFFF#000000##FFFFFF
##9E4CD21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#976788
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e4cd2;
/* rgb */ color: rgb(158, 76, 210);
/* oklch */ color: oklch(57.9% 0.203 309.6);
Tailwind
colors: {
  custom: {
    50: '#be83e0',
    500: '#9e4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9e4cd2;
$custom-light: #be83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4cd2",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 276.716,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57946,
    "c": 0.20329,
    "h": 309.6
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

primary
#9E4CD2
secondary
#B7D9A1
accent
#E34582
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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