#9E48CD#9E48CD

#9E48CD is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.204 H 311.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9E48CD
RGBrgb(158, 72, 205)
HSLhsl(279, 57%, 54%)
HSVhsv(279, 65%, 80%)
CMYKcmyk(22.9%, 64.9%, 0%, 19.6%)
CIE-LABlab(47.38, 57.24, -54.19)
CIE-LCHlch(47.38, 78.82, 316.57°)
OKLaboklab(57.13% 0.1346 -0.1528)
OKLCHoklch(57.13% 0.204 311.4)
XYZxyz(27.4353, 16.3123, 59.4491)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48CD #77CD48
analogous
#5C48CD #9E48CD #CD48BA
triadic
#9E48CD #CD9E48 #48CD9E
tetradic
#9E48CD #CD5C48 #77CD48 #48BACD
square
#9E48CD #CD5C48 #77CD48 #48BACD
split-complementary
#9E48CD #BACD48 #48CD5C
monochromatic
#5A2179 #7E2EA9 #9E48CD #B778DA #D1A8E7

Accessibility & contrast

On white

4.93
#9E48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9E48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48CD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48CD#FFFFFF#000000##FFFFFF
##9E48CD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#986384
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9e48cd;
/* rgb */ color: rgb(158, 72, 205);
/* oklch */ color: oklch(57.1% 0.204 311.4);
Tailwind
colors: {
  custom: {
    50: '#be81dd',
    500: '#9e48cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e48cd;
$custom-light: #be81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48cd",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 278.797,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.20359,
    "h": 311.4
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#9E48CD
secondary
#B0D59C
accent
#E0477D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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