#9F48DD#9F48DD

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

Color values

HEX#9F48DD
RGBrgb(159, 72, 221)
HSLhsl(275, 69%, 57%)
HSVhsv(275, 67%, 87%)
CMYKcmyk(28.1%, 67.4%, 0%, 13.3%)
CIE-LABlab(48.54, 60.95, -61.46)
CIE-LCHlch(48.54, 86.56, 314.76°)
OKLaboklab(58.32% 0.1345 -0.1741)
OKLCHoklch(58.32% 0.22 307.7)
XYZxyz(29.6639, 17.2265, 70.1549)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48DD #86DD48
analogous
#5548DD #9F48DD #DD48D0
triadic
#9F48DD #DD9F48 #48DD9F
tetradic
#9F48DD #DD5548 #86DD48 #48D0DD
square
#9F48DD #DD5548 #86DD48 #48D0DD
split-complementary
#9F48DD #D0DD48 #48DD55
monochromatic
#5F1B90 #8124C3 #9F48DD #BA7CE7 #D5AFF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F48DD#FFFFFF#000000##FFFFFF
##9F48DD1.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)
#0070E1
Deuteranopia (green-blind)
#2574DA
Tritanopia (blue-blind)
#95698D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f48dd;
/* rgb */ color: rgb(159, 72, 221);
/* oklch */ color: oklch(58.3% 0.220 307.7);
Tailwind
colors: {
  custom: {
    50: '#c081e8',
    500: '#9f48dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f48dd;
$custom-light: #c081e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48dd",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 275.034,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5832,
    "c": 0.22002,
    "h": 307.7
  },
  "luminance": 0.17226
}

Semantic roles & 50–950 ramp

primary
#9F48DD
secondary
#BBDEA2
accent
#EC3C85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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