#9E4CD0#9E4CD0

#9E4CD0 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.201 H 310.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9E4CD0
RGBrgb(158, 76, 208)
HSLhsl(277, 58%, 56%)
HSVhsv(277, 63%, 82%)
CMYKcmyk(24%, 63.5%, 0%, 18.4%)
CIE-LABlab(48.25, 56.02, -54.51)
CIE-LCHlch(48.25, 78.17, 315.78°)
OKLaboklab(57.82% 0.1298 -0.1538)
OKLCHoklch(57.82% 0.201 310.2)
XYZxyz(28.0680, 16.9926, 61.4636)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CD0 #7ED04C
analogous
#5C4CD0 #9E4CD0 #D04CC0
triadic
#9E4CD0 #D09E4C #4CD09E
tetradic
#9E4CD0 #D05C4C #7ED04C #4CC0D0
square
#9E4CD0 #D05C4C #7ED04C #4CC0D0
split-complementary
#9E4CD0 #C0D04C #4CD05C
monochromatic
#5C2280 #7F2EB0 #9E4CD0 #B87CDD #D3ADE9

Accessibility & contrast

On white

4.77
#9E4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9E4CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4CD0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4CD0#FFFFFF#000000##FFFFFF
##9E4CD01.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD4
Deuteranopia (green-blind)
#3B74CD
Tritanopia (blue-blind)
#976687
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e4cd0;
/* rgb */ color: rgb(158, 76, 208);
/* oklch */ color: oklch(57.8% 0.201 310.2);
Tailwind
colors: {
  custom: {
    50: '#be83df',
    500: '#9e4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #9e4cd0;
$custom-light: #be83df;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4cd0",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 277.273,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.20122,
    "h": 310.2
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#9E4CD0
secondary
#B5D7A0
accent
#E24681
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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