#9E48CF#9E48CF

#9E48CF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.206 H 310.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9E48CF
RGBrgb(158, 72, 207)
HSLhsl(278, 58%, 55%)
HSVhsv(278, 65%, 81%)
CMYKcmyk(23.7%, 65.2%, 0%, 18.8%)
CIE-LABlab(47.51, 57.68, -55.13)
CIE-LCHlch(47.51, 79.79, 316.29°)
OKLaboklab(57.26% 0.1344 -0.1556)
OKLCHoklch(57.26% 0.206 310.8)
XYZxyz(27.6783, 16.4094, 60.7287)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48CF #79CF48
analogous
#5A48CF #9E48CF #CF48BD
triadic
#9E48CF #CF9E48 #48CF9E
tetradic
#9E48CF #CF5A48 #79CF48 #48BDCF
square
#9E48CF #CF5A48 #79CF48 #48BDCF
split-complementary
#9E48CF #BDCF48 #48CF5A
monochromatic
#5B217C #7E2DAD #9E48CF #B878DC #D1A9E8

Accessibility & contrast

On white

4.90
#9E48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9E48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48CF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48CF#FFFFFF#000000##FFFFFF
##9E48CF1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#986385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e48cf;
/* rgb */ color: rgb(158, 72, 207);
/* oklch */ color: oklch(57.3% 0.206 310.8);
Tailwind
colors: {
  custom: {
    50: '#bf81de',
    500: '#9e48cf',
    950: '#000000',
  },
}
SCSS
$custom: #9e48cf;
$custom-light: #bf81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48cf",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 278.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5726,
    "c": 0.20561,
    "h": 310.8
  },
  "luminance": 0.16409
}

Semantic roles & 50–950 ramp

primary
#9E48CF
secondary
#B2D69D
accent
#E2467F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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