#9F4CCC#9F4CCC

#9F4CCC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.7% C 0.197 H 311.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9F4CCC
RGBrgb(159, 76, 204)
HSLhsl(279, 56%, 55%)
HSVhsv(279, 63%, 80%)
CMYKcmyk(22.1%, 62.7%, 0%, 20%)
CIE-LABlab(48.13, 55.38, -52.40)
CIE-LCHlch(48.13, 76.24, 316.58°)
OKLaboklab(57.68% 0.1312 -0.1475)
OKLCHoklch(57.68% 0.197 311.7)
XYZxyz(27.7796, 16.9001, 58.9137)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CCC #79CC4C
analogous
#5F4CCC #9F4CCC #CC4CB9
triadic
#9F4CCC #CC9F4C #4CCC9F
tetradic
#9F4CCC #CC5F4C #79CC4C #4CB9CC
square
#9F4CCC #CC5F4C #79CC4C #4CB9CC
split-complementary
#9F4CCC #B9CC4C #4CCC5F
monochromatic
#5C237B #7F31AA #9F4CCC #B97CDA #D2ABE7

Accessibility & contrast

On white

4.79
#9F4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9F4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CCC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CCC#FFFFFF#000000##FFFFFF
##9F4CCC1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ED0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#9A6585
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f4ccc;
/* rgb */ color: rgb(159, 76, 204);
/* oklch */ color: oklch(57.7% 0.197 311.7);
Tailwind
colors: {
  custom: {
    50: '#bf83dc',
    500: '#9f4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ccc;
$custom-light: #bf83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ccc",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 278.906,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.19744,
    "h": 311.7
  },
  "luminance": 0.16899
}

Semantic roles & 50–950 ramp

primary
#9F4CCC
secondary
#B2D59F
accent
#DF497E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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