#9E4FCD#9E4FCD

#9E4FCD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.0% C 0.194 H 310.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9E4FCD
RGBrgb(158, 79, 205)
HSLhsl(278, 56%, 56%)
HSVhsv(278, 61%, 80%)
CMYKcmyk(22.9%, 61.5%, 0%, 19.6%)
CIE-LABlab(48.60, 53.91, -52.24)
CIE-LCHlch(48.60, 75.07, 315.91°)
OKLaboklab(58.01% 0.1263 -0.1471)
OKLCHoklch(58.01% 0.194 310.7)
XYZxyz(27.9139, 17.2694, 59.6086)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FCD #7ECD4F
analogous
#5F4FCD #9E4FCD #CD4FBD
triadic
#9E4FCD #CD9E4F #4FCD9E
tetradic
#9E4FCD #CD5F4F #7ECD4F #4FBDCD
square
#9E4FCD #CD5F4F #7ECD4F #4FBDCD
split-complementary
#9E4FCD #BDCD4F #4FCD5F
monochromatic
#5C247E #7F31AE #9E4FCD #B87FDB #D3AEE8

Accessibility & contrast

On white

4.72
#9E4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9E4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4FCD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FCD#FFFFFF#000000##FFFFFF
##9E4FCD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1870D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#986787
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e4fcd;
/* rgb */ color: rgb(158, 79, 205);
/* oklch */ color: oklch(58.0% 0.194 310.7);
Tailwind
colors: {
  custom: {
    50: '#be85dd',
    500: '#9e4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fcd;
$custom-light: #be85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fcd",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 277.619,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.19391,
    "h": 310.7
  },
  "luminance": 0.17269
}

Semantic roles & 50–950 ramp

primary
#9E4FCD
secondary
#B5D6A2
accent
#DF4981
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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