#9F48D2#9F48D2

#9F48D2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.209 H 310.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9F48D2
RGBrgb(159, 72, 210)
HSLhsl(278, 61%, 55%)
HSVhsv(278, 66%, 82%)
CMYKcmyk(24.3%, 65.7%, 0%, 17.6%)
CIE-LABlab(47.83, 58.54, -56.33)
CIE-LCHlch(47.83, 81.25, 316.10°)
OKLaboklab(57.58% 0.1355 -0.159)
OKLCHoklch(57.58% 0.209 310.4)
XYZxyz(28.2461, 16.6594, 62.6879)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48D2 #7BD248
analogous
#5A48D2 #9F48D2 #D248C0
triadic
#9F48D2 #D29F48 #48D29F
tetradic
#9F48D2 #D25A48 #7BD248 #48C0D2
square
#9F48D2 #D25A48 #7BD248 #48C0D2
split-complementary
#9F48D2 #C0D248 #48D25A
monochromatic
#5C2080 #802CB1 #9F48D2 #B979DE #D3AAEA

Accessibility & contrast

On white

4.85
#9F48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9F48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48D2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48D2#FFFFFF#000000##FFFFFF
##9F48D21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#3573CF
Tritanopia (blue-blind)
#986487
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f48d2;
/* rgb */ color: rgb(159, 72, 210);
/* oklch */ color: oklch(57.6% 0.209 310.4);
Tailwind
colors: {
  custom: {
    50: '#bf81e0',
    500: '#9f48d2',
    950: '#000000',
  },
}
SCSS
$custom: #9f48d2;
$custom-light: #bf81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48d2",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 277.826,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.20896,
    "h": 310.4
  },
  "luminance": 0.16659
}

Semantic roles & 50–950 ramp

primary
#9F48D2
secondary
#B3D89E
accent
#E4447F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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