#9F4CD8#9F4CD8

#9F4CD8 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.210 H 308.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9F4CD8
RGBrgb(159, 76, 216)
HSLhsl(276, 64%, 57%)
HSVhsv(276, 65%, 85%)
CMYKcmyk(26.4%, 64.8%, 0%, 15.3%)
CIE-LABlab(48.88, 58.00, -58.07)
CIE-LCHlch(48.88, 82.08, 314.97°)
OKLaboklab(58.46% 0.1306 -0.1642)
OKLCHoklch(58.46% 0.21 308.5)
XYZxyz(29.2747, 17.4981, 66.7877)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CD8 #85D84C
analogous
#594CD8 #9F4CD8 #D84CCB
triadic
#9F4CD8 #D89F4C #4CD89F
tetradic
#9F4CD8 #D8594C #85D84C #4CCBD8
square
#9F4CD8 #D8594C #85D84C #4CCBD8
split-complementary
#9F4CD8 #CBD84C #4CD859
monochromatic
#5F1E8B #8129BE #9F4CD8 #BA7EE3 #D5B1EE

Accessibility & contrast

On white

4.67
#9F4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9F4CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CD8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CD8#FFFFFF#000000##FFFFFF
##9F4CD81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#3375D5
Tritanopia (blue-blind)
#96698C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4cd8;
/* rgb */ color: rgb(159, 76, 216);
/* oklch */ color: oklch(58.5% 0.210 308.5);
Tailwind
colors: {
  custom: {
    50: '#bf83e5',
    500: '#9f4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cd8;
$custom-light: #bf83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cd8",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 275.571,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.20979,
    "h": 308.5
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#9F4CD8
secondary
#BBDCA4
accent
#E74184
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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