#9E2FDA#9E2FDA

#9E2FDA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.5% C 0.244 H 310.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9E2FDA
RGBrgb(158, 47, 218)
HSLhsl(279, 70%, 52%)
HSVhsv(279, 78%, 85%)
CMYKcmyk(27.5%, 78.4%, 0%, 14.5%)
CIE-LABlab(44.75, 69.92, -65.90)
CIE-LCHlch(44.75, 96.08, 316.70°)
OKLaboklab(55.54% 0.1567 -0.187)
OKLCHoklch(55.54% 0.244 310)
XYZxyz(27.7694, 14.3647, 67.6259)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FDA #6BDA2F
analogous
#482FDA #9E2FDA #DA2FC1
triadic
#9E2FDA #DA9E2F #2FDA9E
tetradic
#9E2FDA #DA482F #6BDA2F #2FC1DA
square
#9E2FDA #DA482F #6BDA2F #2FC1DA
split-complementary
#9E2FDA #C1DA2F #2FDA48
monochromatic
#561679 #7B1FAD #9E2FDA #B663E3 #CE97EC

Accessibility & contrast

On white

5.42
#9E2FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9E2FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FDA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FDA#FFFFFF#000000##FFFFFF
##9E2FDA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#955A85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e2fda;
/* rgb */ color: rgb(158, 47, 218);
/* oklch */ color: oklch(55.5% 0.244 310.0);
Tailwind
colors: {
  custom: {
    50: '#c075e6',
    500: '#9e2fda',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fda;
$custom-light: #c075e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fda",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 218
  },
  "hsl": {
    "h": 278.947,
    "s": 69.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5554,
    "c": 0.24401,
    "h": 310
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#9E2FDA
secondary
#A7D88D
accent
#ED3B79
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9E2FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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