#9F4CD3#9F4CD3

#9F4CD3 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.205 H 309.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9F4CD3
RGBrgb(159, 76, 211)
HSLhsl(277, 61%, 56%)
HSVhsv(277, 64%, 83%)
CMYKcmyk(24.6%, 64%, 0%, 17.3%)
CIE-LABlab(48.57, 56.90, -55.72)
CIE-LCHlch(48.57, 79.64, 315.60°)
OKLaboklab(58.13% 0.1309 -0.1573)
OKLCHoklch(58.13% 0.205 309.8)
XYZxyz(28.6381, 17.2435, 63.4351)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CD3 #80D34C
analogous
#5C4CD3 #9F4CD3 #D34CC4
triadic
#9F4CD3 #D39F4C #4CD39F
tetradic
#9F4CD3 #D35C4C #80D34C #4CC4D3
square
#9F4CD3 #D35C4C #80D34C #4CC4D3
split-complementary
#9F4CD3 #C4D34C #4CD35C
monochromatic
#5E2084 #812DB5 #9F4CD3 #B97DDF #D4AEEB

Accessibility & contrast

On white

4.72
#9F4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9F4CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CD3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CD3#FFFFFF#000000##FFFFFF
##9F4CD31.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#3975D0
Tritanopia (blue-blind)
#986789
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f4cd3;
/* rgb */ color: rgb(159, 76, 211);
/* oklch */ color: oklch(58.1% 0.205 309.8);
Tailwind
colors: {
  custom: {
    50: '#bf83e1',
    500: '#9f4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cd3;
$custom-light: #bf83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cd3",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 276.889,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.20464,
    "h": 309.8
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#9F4CD3
secondary
#B7D9A2
accent
#E44482
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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