#9E4FCA#9E4FCA

#9E4FCA is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.8% C 0.191 H 311.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9E4FCA
RGBrgb(158, 79, 202)
HSLhsl(279, 54%, 55%)
HSVhsv(279, 61%, 79%)
CMYKcmyk(21.8%, 60.9%, 0%, 20.8%)
CIE-LABlab(48.42, 53.26, -50.80)
CIE-LCHlch(48.42, 73.60, 316.35°)
OKLaboklab(57.82% 0.1264 -0.1429)
OKLCHoklch(57.82% 0.191 311.5)
XYZxyz(27.5553, 17.1260, 57.7197)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FCA #7BCA4F
analogous
#614FCA #9E4FCA #CA4FB8
triadic
#9E4FCA #CA9E4F #4FCA9E
tetradic
#9E4FCA #CA614F #7BCA4F #4FB8CA
square
#9E4FCA #CA614F #7BCA4F #4FB8CA
split-complementary
#9E4FCA #B8CA4F #4FCA61
monochromatic
#5B257A #7F33A9 #9E4FCA #B87ED8 #D2ADE6

Accessibility & contrast

On white

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

On black

4.43
#9E4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E4FCA#FFFFFF#000000##FFFFFF
##9E4FCA1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6FCE
Deuteranopia (green-blind)
#4475C7
Tritanopia (blue-blind)
#996685
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e4fca;
/* rgb */ color: rgb(158, 79, 202);
/* oklch */ color: oklch(57.8% 0.191 311.5);
Tailwind
colors: {
  custom: {
    50: '#be85db',
    500: '#9e4fca',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fca;
$custom-light: #be85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fca",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 278.537,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5782,
    "c": 0.19076,
    "h": 311.5
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#9E4FCA
secondary
#B3D4A1
accent
#DD4B7F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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