#9E48DF#9E48DF

#9E48DF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.222 H 306.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9E48DF
RGBrgb(158, 72, 223)
HSLhsl(274, 70%, 58%)
HSVhsv(274, 68%, 87%)
CMYKcmyk(29.1%, 67.7%, 0%, 12.5%)
CIE-LABlab(48.55, 61.19, -62.59)
CIE-LCHlch(48.55, 87.53, 314.35°)
OKLaboklab(58.34% 0.133 -0.1775)
OKLCHoklch(58.34% 0.222 306.9)
XYZxyz(29.7344, 17.2319, 71.5574)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48DF #89DF48
analogous
#5248DF #9E48DF #DF48D5
triadic
#9E48DF #DF9E48 #48DF9E
tetradic
#9E48DF #DF5248 #89DF48 #48D5DF
square
#9E48DF #DF5248 #89DF48 #48D5DF
split-complementary
#9E48DF #D5DF48 #48DF52
monochromatic
#5F1A93 #8023C7 #9E48DF #BA7CE8 #D5B0F1

Accessibility & contrast

On white

4.72
#9E48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9E48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48DF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48DF#FFFFFF#000000##FFFFFF
##9E48DF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#93698E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e48df;
/* rgb */ color: rgb(158, 72, 223);
/* oklch */ color: oklch(58.3% 0.222 306.9);
Tailwind
colors: {
  custom: {
    50: '#bf81ea',
    500: '#9e48df',
    950: '#000000',
  },
}
SCSS
$custom: #9e48df;
$custom-light: #bf81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48df",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 274.172,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5834,
    "c": 0.22178,
    "h": 306.9
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#9E48DF
secondary
#BDE0A3
accent
#ED3B88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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