#9E4FDB#9E4FDB

#9E4FDB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.209 H 307.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9E4FDB
RGBrgb(158, 79, 219)
HSLhsl(274, 66%, 58%)
HSVhsv(274, 64%, 86%)
CMYKcmyk(27.9%, 63.9%, 0%, 14.1%)
CIE-LABlab(49.47, 57.03, -58.84)
CIE-LCHlch(49.47, 81.94, 314.11°)
OKLaboklab(58.91% 0.1257 -0.1665)
OKLCHoklch(58.91% 0.209 307.1)
XYZxyz(29.6800, 17.9759, 68.9102)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FDB #8CDB4F
analogous
#584FDB #9E4FDB #DB4FD2
triadic
#9E4FDB #DB9E4F #4FDB9E
tetradic
#9E4FDB #DB584F #8CDB4F #4FD2DB
square
#9E4FDB #DB584F #8CDB4F #4FD2DB
split-complementary
#9E4FDB #D2DB4F #4FDB58
monochromatic
#5F1E92 #8028C5 #9E4FDB #BA82E5 #D6B5F0

Accessibility & contrast

On white

4.57
#9E4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9E4FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4FDB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FDB#FFFFFF#000000##000000
##9E4FDB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#3276D8
Tritanopia (blue-blind)
#946C8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e4fdb;
/* rgb */ color: rgb(158, 79, 219);
/* oklch */ color: oklch(58.9% 0.209 307.1);
Tailwind
colors: {
  custom: {
    50: '#bf85e7',
    500: '#9e4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fdb;
$custom-light: #bf85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fdb",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 273.857,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58915,
    "c": 0.20862,
    "h": 307.1
  },
  "luminance": 0.17976
}

Semantic roles & 50–950 ramp

primary
#9E4FDB
secondary
#BFDFA7
accent
#E93F89
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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