#9F4CDC#9F4CDC

#9F4CDC is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.214 H 307.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9F4CDC
RGBrgb(159, 76, 220)
HSLhsl(275, 67%, 58%)
HSVhsv(275, 65%, 86%)
CMYKcmyk(27.7%, 65.5%, 0%, 13.7%)
CIE-LABlab(49.14, 58.89, -59.93)
CIE-LCHlch(49.14, 84.02, 314.50°)
OKLaboklab(58.73% 0.1303 -0.1696)
OKLCHoklch(58.73% 0.214 307.5)
XYZxyz(29.7981, 17.7075, 69.5444)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CDC #89DC4C
analogous
#574CDC #9F4CDC #DC4CD1
triadic
#9F4CDC #DC9F4C #4CDC9F
tetradic
#9F4CDC #DC574C #89DC4C #4CD1DC
square
#9F4CDC #DC574C #89DC4C #4CD1DC
split-complementary
#9F4CDC #D1DC4C #4CDC57
monochromatic
#601C91 #8126C4 #9F4CDC #BA7FE6 #D6B2F0

Accessibility & contrast

On white

4.62
#9F4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9F4CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CDC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CDC#FFFFFF#000000##FFFFFF
##9F4CDC1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f4cdc;
/* rgb */ color: rgb(159, 76, 220);
/* oklch */ color: oklch(58.7% 0.214 307.5);
Tailwind
colors: {
  custom: {
    50: '#c083e8',
    500: '#9f4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cdc;
$custom-light: #c083e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cdc",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 274.583,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58727,
    "c": 0.2139,
    "h": 307.5
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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