#9F49DB#9F49DB

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

Color values

HEX#9F49DB
RGBrgb(159, 73, 219)
HSLhsl(275, 67%, 57%)
HSVhsv(275, 67%, 86%)
CMYKcmyk(27.4%, 66.7%, 0%, 14.1%)
CIE-LABlab(48.57, 60.05, -60.27)
CIE-LCHlch(48.57, 85.08, 314.90°)
OKLaboklab(58.3% 0.1337 -0.1706)
OKLCHoklch(58.3% 0.217 308.1)
XYZxyz(29.4642, 17.2509, 68.7817)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49DB #85DB49
analogous
#5649DB #9F49DB #DB49CE
triadic
#9F49DB #DB9F49 #49DB9F
tetradic
#9F49DB #DB5649 #85DB49 #49CEDB
square
#9F49DB #DB5649 #85DB49 #49CEDB
split-complementary
#9F49DB #CEDB49 #49DB56
monochromatic
#5F1C8E #8126C1 #9F49DB #BA7CE5 #D5AFEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F49DB#FFFFFF#000000##FFFFFF
##9F49DB1.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)
#0070DF
Deuteranopia (green-blind)
#2A74D8
Tritanopia (blue-blind)
#96688C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f49db;
/* rgb */ color: rgb(159, 73, 219);
/* oklch */ color: oklch(58.3% 0.217 308.1);
Tailwind
colors: {
  custom: {
    50: '#c082e7',
    500: '#9f49db',
    950: '#000000',
  },
}
SCSS
$custom: #9f49db;
$custom-light: #c082e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49db",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 275.342,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.583,
    "c": 0.21675,
    "h": 308.1
  },
  "luminance": 0.1725
}

Semantic roles & 50–950 ramp

primary
#9F49DB
secondary
#BBDDA2
accent
#EA3E85
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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