#9F48D8#9F48D8

#9F48D8 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.215 H 308.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9F48D8
RGBrgb(159, 72, 216)
HSLhsl(276, 65%, 56%)
HSVhsv(276, 67%, 85%)
CMYKcmyk(26.4%, 66.7%, 0%, 15.3%)
CIE-LABlab(48.21, 59.85, -59.14)
CIE-LCHlch(48.21, 84.14, 315.34°)
OKLaboklab(57.98% 0.135 -0.1673)
OKLCHoklch(57.98% 0.215 308.9)
XYZxyz(29.0076, 16.9640, 66.6987)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48D8 #81D848
analogous
#5748D8 #9F48D8 #D848C9
triadic
#9F48D8 #D89F48 #48D89F
tetradic
#9F48D8 #D85748 #81D848 #48C9D8
square
#9F48D8 #D85748 #81D848 #48C9D8
split-complementary
#9F48D8 #C9D848 #48D857
monochromatic
#5E1D89 #8128BB #9F48D8 #B97AE3 #D4ADEE

Accessibility & contrast

On white

4.78
#9F48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9F48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48D8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48D8#FFFFFF#000000##FFFFFF
##9F48D81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#2D74D5
Tritanopia (blue-blind)
#97678A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f48d8;
/* rgb */ color: rgb(159, 72, 216);
/* oklch */ color: oklch(58.0% 0.215 308.9);
Tailwind
colors: {
  custom: {
    50: '#c081e5',
    500: '#9f48d8',
    950: '#000000',
  },
}
SCSS
$custom: #9f48d8;
$custom-light: #c081e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48d8",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 276.25,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.21499,
    "h": 308.9
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#9F48D8
secondary
#B8DBA0
accent
#E84082
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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