#9E2FD8#9E2FD8

#9E2FD8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.4% C 0.242 H 310.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9E2FD8
RGBrgb(158, 47, 216)
HSLhsl(279, 68%, 52%)
HSVhsv(279, 78%, 85%)
CMYKcmyk(26.9%, 78.2%, 0%, 15.3%)
CIE-LABlab(44.60, 69.51, -64.99)
CIE-LCHlch(44.60, 95.16, 316.93°)
OKLaboklab(55.39% 0.1572 -0.1844)
OKLCHoklch(55.39% 0.242 310.4)
XYZxyz(27.5093, 14.2606, 66.2559)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FD8 #69D82F
analogous
#4A2FD8 #9E2FD8 #D82FBE
triadic
#9E2FD8 #D89E2F #2FD89E
tetradic
#9E2FD8 #D84A2F #69D82F #2FBED8
square
#9E2FD8 #D84A2F #69D82F #2FBED8
split-complementary
#9E2FD8 #BED82F #2FD84A
monochromatic
#551676 #7B20AA #9E2FD8 #B663E2 #CE96EB

Accessibility & contrast

On white

5.45
#9E2FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9E2FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FD8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FD8#FFFFFF#000000##FFFFFF
##9E2FD81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#965984
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e2fd8;
/* rgb */ color: rgb(158, 47, 216);
/* oklch */ color: oklch(55.4% 0.242 310.4);
Tailwind
colors: {
  custom: {
    50: '#c075e5',
    500: '#9e2fd8',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fd8;
$custom-light: #c075e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fd8",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 216
  },
  "hsl": {
    "h": 279.408,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.24226,
    "h": 310.4
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#9E2FD8
secondary
#A6D78C
accent
#EB3D79
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9E2FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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