#9F49DA#9F49DA

#9F49DA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.216 H 308.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9F49DA
RGBrgb(159, 73, 218)
HSLhsl(276, 66%, 57%)
HSVhsv(276, 67%, 85%)
CMYKcmyk(27.1%, 66.5%, 0%, 14.5%)
CIE-LABlab(48.51, 59.83, -59.81)
CIE-LCHlch(48.51, 84.60, 315.01°)
OKLaboklab(58.23% 0.1338 -0.1693)
OKLCHoklch(58.23% 0.216 308.3)
XYZxyz(29.3329, 17.1984, 68.0904)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49DA #84DA49
analogous
#5749DA #9F49DA #DA49CD
triadic
#9F49DA #DA9F49 #49DA9F
tetradic
#9F49DA #DA5749 #84DA49 #49CDDA
square
#9F49DA #DA5749 #84DA49 #49CDDA
split-complementary
#9F49DA #CDDA49 #49DA57
monochromatic
#5F1C8C #8127BF #9F49DA #BA7CE4 #D5AFEF

Accessibility & contrast

On white

4.73
#9F49DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9F49DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49DA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49DA#FFFFFF#000000##FFFFFF
##9F49DA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#2C74D7
Tritanopia (blue-blind)
#96688C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f49da;
/* rgb */ color: rgb(159, 73, 218);
/* oklch */ color: oklch(58.2% 0.216 308.3);
Tailwind
colors: {
  custom: {
    50: '#c082e6',
    500: '#9f49da',
    950: '#000000',
  },
}
SCSS
$custom: #9f49da;
$custom-light: #c082e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49da",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 218
  },
  "hsl": {
    "h": 275.586,
    "s": 66.21,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58232,
    "c": 0.21573,
    "h": 308.3
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#9F49DA
secondary
#BADDA2
accent
#E93F84
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F49DA

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

Preview Lab → · Contrast checker → · Palette generator →

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