#9E48EF#9E48EF

#9E48EF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.5% C 0.238 H 303.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9E48EF
RGBrgb(158, 72, 239)
HSLhsl(271, 84%, 61%)
HSVhsv(271, 70%, 94%)
CMYKcmyk(33.9%, 69.9%, 0%, 6.3%)
CIE-LABlab(49.66, 64.80, -69.83)
CIE-LCHlch(49.66, 95.26, 312.86°)
OKLaboklab(59.48% 0.1308 -0.1987)
OKLCHoklch(59.48% 0.238 303.4)
XYZxyz(31.9943, 18.1359, 83.4596)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48EF #99EF48
analogous
#4A48EF #9E48EF #EF48ED
triadic
#9E48EF #EF9E48 #48EF9E
tetradic
#9E48EF #EF4A48 #99EF48 #48EDEF
square
#9E48EF #EF4A48 #99EF48 #48EDEF
split-complementary
#9E48EF #EDEF48 #48EF4A
monochromatic
#610FAD #8014E6 #9E48EF #BC80F4 #DAB9F9

Accessibility & contrast

On white

4.54
#9E48EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9E48EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E48EF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48EF#FFFFFF#000000##000000
##9E48EF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#8E7097
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e48ef;
/* rgb */ color: rgb(158, 72, 239);
/* oklch */ color: oklch(59.5% 0.238 303.4);
Tailwind
colors: {
  custom: {
    50: '#c182f5',
    500: '#9e48ef',
    950: '#000000',
  },
}
SCSS
$custom: #9e48ef;
$custom-light: #c182f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48ef",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 270.898,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59482,
    "c": 0.23792,
    "h": 303.4
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#9E48EF
secondary
#C8E9AA
accent
#E0056F
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E48EF

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

Preview Lab → · Contrast checker → · Palette generator →

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