#9F48D6#9F48D6

#9F48D6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.213 H 309.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9F48D6
RGBrgb(159, 72, 214)
HSLhsl(277, 63%, 56%)
HSVhsv(277, 66%, 84%)
CMYKcmyk(25.7%, 66.4%, 0%, 16.1%)
CIE-LABlab(48.08, 59.41, -58.21)
CIE-LCHlch(48.08, 83.18, 315.59°)
OKLaboklab(57.85% 0.1352 -0.1645)
OKLCHoklch(57.85% 0.213 309.4)
XYZxyz(28.7506, 16.8612, 65.3453)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48D6 #7FD648
analogous
#5848D6 #9F48D6 #D648C6
triadic
#9F48D6 #D69F48 #48D69F
tetradic
#9F48D6 #D65848 #7FD648 #48C6D6
square
#9F48D6 #D65848 #7FD648 #48C6D6
split-complementary
#9F48D6 #C6D648 #48D658
monochromatic
#5D1E86 #8029B8 #9F48D6 #B97AE1 #D3ACEC

Accessibility & contrast

On white

4.80
#9F48D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9F48D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48D6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48D6#FFFFFF#000000##FFFFFF
##9F48D61.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#3073D3
Tritanopia (blue-blind)
#976689
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f48d6;
/* rgb */ color: rgb(159, 72, 214);
/* oklch */ color: oklch(57.8% 0.213 309.4);
Tailwind
colors: {
  custom: {
    50: '#c081e3',
    500: '#9f48d6',
    950: '#000000',
  },
}
SCSS
$custom: #9f48d6;
$custom-light: #c081e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48d6",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 276.761,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.21297,
    "h": 309.4
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#9F48D6
secondary
#B6DAA0
accent
#E64181
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F48D6

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

Preview Lab → · Contrast checker → · Palette generator →

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