#9F49CC#9F49CC

#9F49CC is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.202 H 311.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9F49CC
RGBrgb(159, 73, 204)
HSLhsl(279, 56%, 54%)
HSVhsv(279, 64%, 80%)
CMYKcmyk(22.1%, 64.2%, 0%, 20%)
CIE-LABlab(47.62, 56.79, -53.22)
CIE-LCHlch(47.62, 77.83, 316.86°)
OKLaboklab(57.31% 0.1347 -0.1499)
OKLCHoklch(57.31% 0.202 311.9)
XYZxyz(27.5777, 16.4963, 58.8464)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49CC #76CC49
analogous
#5E49CC #9F49CC #CC49B8
triadic
#9F49CC #CC9F49 #49CC9F
tetradic
#9F49CC #CC5E49 #76CC49 #49B8CC
square
#9F49CC #CC5E49 #76CC49 #49B8CC
split-complementary
#9F49CC #B8CC49 #49CC5E
monochromatic
#5B2279 #7F2FA9 #9F49CC #B879D9 #D1A9E7

Accessibility & contrast

On white

4.88
#9F49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9F49CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49CC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49CC#FFFFFF#000000##FFFFFF
##9F49CC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#9A6384
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f49cc;
/* rgb */ color: rgb(159, 73, 204);
/* oklch */ color: oklch(57.3% 0.202 311.9);
Tailwind
colors: {
  custom: {
    50: '#bf81dc',
    500: '#9f49cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f49cc;
$custom-light: #bf81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49cc",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 279.389,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57308,
    "c": 0.20157,
    "h": 311.9
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#9F49CC
secondary
#B0D49D
accent
#E0487C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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