#9E4CD6#9E4CD6

#9E4CD6 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.207 H 308.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9E4CD6
RGBrgb(158, 76, 214)
HSLhsl(276, 63%, 57%)
HSVhsv(276, 64%, 84%)
CMYKcmyk(26.2%, 64.5%, 0%, 16.1%)
CIE-LABlab(48.63, 57.34, -57.34)
CIE-LCHlch(48.63, 81.09, 315.00°)
OKLaboklab(58.21% 0.1295 -0.1621)
OKLCHoklch(58.21% 0.207 308.6)
XYZxyz(28.8201, 17.2935, 65.4250)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CD6 #84D64C
analogous
#594CD6 #9E4CD6 #D64CC9
triadic
#9E4CD6 #D69E4C #4CD69E
tetradic
#9E4CD6 #D6594C #84D64C #4CC9D6
square
#9E4CD6 #D6594C #84D64C #4CC9D6
split-complementary
#9E4CD6 #C9D64C #4CD659
monochromatic
#5E1F88 #802BBA #9E4CD6 #B97EE1 #D4B0ED

Accessibility & contrast

On white

4.71
#9E4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9E4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4CD6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4CD6#FFFFFF#000000##FFFFFF
##9E4CD61.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#3474D3
Tritanopia (blue-blind)
#96688A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e4cd6;
/* rgb */ color: rgb(158, 76, 214);
/* oklch */ color: oklch(58.2% 0.207 308.6);
Tailwind
colors: {
  custom: {
    50: '#bf83e3',
    500: '#9e4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #9e4cd6;
$custom-light: #bf83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4cd6",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 275.652,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58208,
    "c": 0.20743,
    "h": 308.6
  },
  "luminance": 0.17293
}

Semantic roles & 50–950 ramp

primary
#9E4CD6
secondary
#BADBA3
accent
#E64284
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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