#9F4CD5#9F4CD5

#9F4CD5 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.207 H 309.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9F4CD5
RGBrgb(159, 76, 213)
HSLhsl(276, 62%, 57%)
HSVhsv(276, 64%, 84%)
CMYKcmyk(25.4%, 64.3%, 0%, 16.5%)
CIE-LABlab(48.69, 57.34, -56.66)
CIE-LCHlch(48.69, 80.61, 315.34°)
OKLaboklab(58.26% 0.1308 -0.16)
OKLCHoklch(58.26% 0.207 309.3)
XYZxyz(28.8904, 17.3444, 64.7638)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CD5 #82D54C
analogous
#5B4CD5 #9F4CD5 #D54CC7
triadic
#9F4CD5 #D59F4C #4CD59F
tetradic
#9F4CD5 #D55B4C #82D54C #4CC7D5
square
#9F4CD5 #D55B4C #82D54C #4CC7D5
split-complementary
#9F4CD5 #C7D54C #4CD55B
monochromatic
#5E2087 #812BB9 #9F4CD5 #BA7EE1 #D4AFEC

Accessibility & contrast

On white

4.70
#9F4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9F4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CD5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CD5#FFFFFF#000000##FFFFFF
##9F4CD51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#3775D2
Tritanopia (blue-blind)
#97688A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4cd5;
/* rgb */ color: rgb(159, 76, 213);
/* oklch */ color: oklch(58.3% 0.207 309.3);
Tailwind
colors: {
  custom: {
    50: '#bf83e3',
    500: '#9f4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cd5;
$custom-light: #bf83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cd5",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 276.35,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.20669,
    "h": 309.3
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#9F4CD5
secondary
#B8DAA2
accent
#E54383
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9F4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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