#9F49D8#9F49D8

#9F49D8 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.214 H 308.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9F49D8
RGBrgb(159, 73, 216)
HSLhsl(276, 65%, 57%)
HSVhsv(276, 66%, 85%)
CMYKcmyk(26.4%, 66.2%, 0%, 15.3%)
CIE-LABlab(48.38, 59.39, -58.88)
CIE-LCHlch(48.38, 83.63, 315.25°)
OKLaboklab(58.1% 0.1339 -0.1665)
OKLCHoklch(58.1% 0.214 308.8)
XYZxyz(29.0728, 17.0944, 66.7204)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49D8 #82D849
analogous
#5849D8 #9F49D8 #D849CA
triadic
#9F49D8 #D89F49 #49D89F
tetradic
#9F49D8 #D85849 #82D849 #49CAD8
square
#9F49D8 #D85849 #82D849 #49CAD8
split-complementary
#9F49D8 #CAD849 #49D858
monochromatic
#5E1D89 #8128BC #9F49D8 #BA7BE3 #D4AEEE

Accessibility & contrast

On white

4.75
#9F49D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9F49D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49D8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49D8#FFFFFF#000000##FFFFFF
##9F49D81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#2F74D5
Tritanopia (blue-blind)
#97678B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f49d8;
/* rgb */ color: rgb(159, 73, 216);
/* oklch */ color: oklch(58.1% 0.214 308.8);
Tailwind
colors: {
  custom: {
    50: '#c081e5',
    500: '#9f49d8',
    950: '#000000',
  },
}
SCSS
$custom: #9f49d8;
$custom-light: #c081e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49d8",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 276.084,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.2137,
    "h": 308.8
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#9F49D8
secondary
#B8DCA1
accent
#E84083
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F49D8

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

Preview Lab → · Contrast checker → · Palette generator →

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