#9F49CE#9F49CE

#9F49CE is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.204 H 311.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9F49CE
RGBrgb(159, 73, 206)
HSLhsl(279, 58%, 55%)
HSVhsv(279, 65%, 81%)
CMYKcmyk(22.8%, 64.6%, 0%, 19.2%)
CIE-LABlab(47.74, 57.22, -54.17)
CIE-LCHlch(47.74, 78.80, 316.57°)
OKLaboklab(57.44% 0.1346 -0.1527)
OKLCHoklch(57.44% 0.204 311.4)
XYZxyz(27.8191, 16.5929, 60.1178)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49CE #78CE49
analogous
#5D49CE #9F49CE #CE49BB
triadic
#9F49CE #CE9F49 #49CE9F
tetradic
#9F49CE #CE5D49 #78CE49 #49BBCE
square
#9F49CE #CE5D49 #78CE49 #49BBCE
split-complementary
#9F49CE #BBCE49 #49CE5D
monochromatic
#5C217B #7F2EAC #9F49CE #B879DB #D2A9E8

Accessibility & contrast

On white

4.86
#9F49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9F49CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49CE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49CE#FFFFFF#000000##FFFFFF
##9F49CE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#996385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f49ce;
/* rgb */ color: rgb(159, 73, 206);
/* oklch */ color: oklch(57.4% 0.204 311.4);
Tailwind
colors: {
  custom: {
    50: '#bf81de',
    500: '#9f49ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f49ce;
$custom-light: #bf81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49ce",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 278.797,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.20359,
    "h": 311.4
  },
  "luminance": 0.16592
}

Semantic roles & 50–950 ramp

primary
#9F49CE
secondary
#B1D59D
accent
#E1477D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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