#9E4FDA#9E4FDA

#9E4FDA is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.208 H 307.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9E4FDA
RGBrgb(158, 79, 218)
HSLhsl(274, 65%, 58%)
HSVhsv(274, 64%, 85%)
CMYKcmyk(27.5%, 63.8%, 0%, 14.5%)
CIE-LABlab(49.40, 56.81, -58.37)
CIE-LCHlch(49.40, 81.45, 314.22°)
OKLaboklab(58.85% 0.1258 -0.1651)
OKLCHoklch(58.85% 0.208 307.3)
XYZxyz(29.5488, 17.9234, 68.2190)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FDA #8BDA4F
analogous
#584FDA #9E4FDA #DA4FD0
triadic
#9E4FDA #DA9E4F #4FDA9E
tetradic
#9E4FDA #DA584F #8BDA4F #4FD0DA
square
#9E4FDA #DA584F #8BDA4F #4FD0DA
split-complementary
#9E4FDA #D0DA4F #4FDA58
monochromatic
#5F1E90 #8029C3 #9E4FDA #BA82E5 #D6B4EF

Accessibility & contrast

On white

4.58
#9E4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9E4FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4FDA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FDA#FFFFFF#000000##000000
##9E4FDA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#946C8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e4fda;
/* rgb */ color: rgb(158, 79, 218);
/* oklch */ color: oklch(58.8% 0.208 307.3);
Tailwind
colors: {
  custom: {
    50: '#bf85e6',
    500: '#9e4fda',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fda;
$custom-light: #bf85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fda",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 274.101,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58849,
    "c": 0.20757,
    "h": 307.3
  },
  "luminance": 0.17923
}

Semantic roles & 50–950 ramp

primary
#9E4FDA
secondary
#BFDEA7
accent
#E84088
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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