#9D4ECA#9D4ECA

#9D4ECA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.192 H 311.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9D4ECA
RGBrgb(157, 78, 202)
HSLhsl(278, 54%, 55%)
HSVhsv(278, 61%, 79%)
CMYKcmyk(22.3%, 61.4%, 0%, 20.8%)
CIE-LABlab(48.11, 53.51, -51.30)
CIE-LCHlch(48.11, 74.13, 316.21°)
OKLaboklab(57.57% 0.1263 -0.1444)
OKLCHoklch(57.57% 0.192 311.2)
XYZxyz(27.2877, 16.8818, 57.6867)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4ECA #7BCA4E
analogous
#5F4ECA #9D4ECA #CA4EB9
triadic
#9D4ECA #CA9D4E #4ECA9D
tetradic
#9D4ECA #CA5F4E #7BCA4E #4EB9CA
square
#9D4ECA #CA5F4E #7BCA4E #4EB9CA
split-complementary
#9D4ECA #B9CA4E #4ECA5F
monochromatic
#5A2479 #7E32A8 #9D4ECA #B77DD8 #D1ACE6

Accessibility & contrast

On white

4.80
#9D4ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9D4ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4ECA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4ECA#FFFFFF#000000##FFFFFF
##9D4ECA1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#986685
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4eca;
/* rgb */ color: rgb(157, 78, 202);
/* oklch */ color: oklch(57.6% 0.192 311.2);
Tailwind
colors: {
  custom: {
    50: '#bd84db',
    500: '#9d4eca',
    950: '#000000',
  },
}
SCSS
$custom: #9d4eca;
$custom-light: #bd84db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4eca",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 278.226,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.19185,
    "h": 311.2
  },
  "luminance": 0.16881
}

Semantic roles & 50–950 ramp

primary
#9D4ECA
secondary
#B3D4A0
accent
#DD4B80
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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