#9E4CD7#9E4CD7

#9E4CD7 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.208 H 308.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9E4CD7
RGBrgb(158, 76, 215)
HSLhsl(275, 63%, 57%)
HSVhsv(275, 65%, 84%)
CMYKcmyk(26.5%, 64.7%, 0%, 15.7%)
CIE-LABlab(48.69, 57.56, -57.81)
CIE-LCHlch(48.69, 81.58, 314.88°)
OKLaboklab(58.27% 0.1294 -0.1634)
OKLCHoklch(58.27% 0.208 308.4)
XYZxyz(28.9482, 17.3447, 66.0997)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CD7 #85D74C
analogous
#594CD7 #9E4CD7 #D74CCA
triadic
#9E4CD7 #D79E4C #4CD79E
tetradic
#9E4CD7 #D7594C #85D74C #4CCAD7
square
#9E4CD7 #D7594C #85D74C #4CCAD7
split-complementary
#9E4CD7 #CAD74C #4CD759
monochromatic
#5E1F8A #802ABC #9E4CD7 #B97EE2 #D4B0ED

Accessibility & contrast

On white

4.70
#9E4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9E4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4CD7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4CD7#FFFFFF#000000##FFFFFF
##9E4CD71.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#3375D4
Tritanopia (blue-blind)
#95698B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e4cd7;
/* rgb */ color: rgb(158, 76, 215);
/* oklch */ color: oklch(58.3% 0.208 308.4);
Tailwind
colors: {
  custom: {
    50: '#bf83e4',
    500: '#9e4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9e4cd7;
$custom-light: #bf83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4cd7",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 275.396,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58274,
    "c": 0.20846,
    "h": 308.4
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#9E4CD7
secondary
#BADCA3
accent
#E64185
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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