#9F4DDC#9F4DDC

#9F4DDC is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.213 H 307.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9F4DDC
RGBrgb(159, 77, 220)
HSLhsl(274, 67%, 58%)
HSVhsv(274, 65%, 86%)
CMYKcmyk(27.7%, 65%, 0%, 13.7%)
CIE-LABlab(49.31, 58.42, -59.66)
CIE-LCHlch(49.31, 83.50, 314.40°)
OKLaboklab(58.85% 0.1292 -0.1688)
OKLCHoklch(58.85% 0.213 307.4)
XYZxyz(29.8675, 17.8464, 69.5675)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DDC #8ADC4D
analogous
#574DDC #9F4DDC #DC4DD1
triadic
#9F4DDC #DC9F4D #4DDC9F
tetradic
#9F4DDC #DC574D #8ADC4D #4DD1DC
square
#9F4DDC #DC574D #8ADC4D #4DD1DC
split-complementary
#9F4DDC #D1DC4D #4DDC57
monochromatic
#601D92 #8227C5 #9F4DDC #BB80E6 #D6B3F0

Accessibility & contrast

On white

4.60
#9F4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9F4DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4DDC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DDC#FFFFFF#000000##FFFFFF
##9F4DDC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#956B8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4ddc;
/* rgb */ color: rgb(159, 77, 220);
/* oklch */ color: oklch(58.8% 0.213 307.4);
Tailwind
colors: {
  custom: {
    50: '#c084e8',
    500: '#9f4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ddc;
$custom-light: #c084e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ddc",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 274.406,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58849,
    "c": 0.21259,
    "h": 307.4
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

primary
#9F4DDC
secondary
#BEDFA6
accent
#EA3E87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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