#9E4BCA#9E4BCA

#9E4BCA is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.3% C 0.196 H 311.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9E4BCA
RGBrgb(158, 75, 202)
HSLhsl(279, 55%, 54%)
HSVhsv(279, 63%, 79%)
CMYKcmyk(21.8%, 62.9%, 0%, 20.8%)
CIE-LABlab(47.71, 55.19, -51.93)
CIE-LCHlch(47.71, 75.78, 316.74°)
OKLaboklab(57.31% 0.1312 -0.1462)
OKLCHoklch(57.31% 0.196 311.9)
XYZxyz(27.2754, 16.5662, 57.6264)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BCA #77CA4B
analogous
#5F4BCA #9E4BCA #CA4BB6
triadic
#9E4BCA #CA9E4B #4BCA9E
tetradic
#9E4BCA #CA5F4B #77CA4B #4BB6CA
square
#9E4BCA #CA5F4B #77CA4B #4BB6CA
split-complementary
#9E4BCA #B6CA4B #4BCA5F
monochromatic
#5A2377 #7E31A7 #9E4BCA #B77AD8 #D1AAE6

Accessibility & contrast

On white

4.87
#9E4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9E4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BCA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BCA#FFFFFF#000000##FFFFFF
##9E4BCA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106DCE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#996384
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e4bca;
/* rgb */ color: rgb(158, 75, 202);
/* oklch */ color: oklch(57.3% 0.196 311.9);
Tailwind
colors: {
  custom: {
    50: '#be82db',
    500: '#9e4bca',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bca;
$custom-light: #be82db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bca",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 279.213,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.19644,
    "h": 311.9
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#9E4BCA
secondary
#B0D39D
accent
#DE4A7D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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