#9F4FD6#9F4FD6

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

Color values

HEX#9F4FD6
RGBrgb(159, 79, 214)
HSLhsl(276, 62%, 57%)
HSVhsv(276, 63%, 84%)
CMYKcmyk(25.7%, 63.1%, 0%, 16.1%)
CIE-LABlab(49.28, 56.13, -56.29)
CIE-LCHlch(49.28, 79.50, 314.92°)
OKLaboklab(58.7% 0.1273 -0.159)
OKLCHoklch(58.7% 0.204 308.7)
XYZxyz(29.2292, 17.8184, 65.5048)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FD6 #86D64F
analogous
#5C4FD6 #9F4FD6 #D64FC9
triadic
#9F4FD6 #D69F4F #4FD69F
tetradic
#9F4FD6 #D65C4F #86D64F #4FC9D6
square
#9F4FD6 #D65C4F #86D64F #4FC9D6
split-complementary
#9F4FD6 #C9D64F #4FD65C
monochromatic
#5F208A #812CBC #9F4FD6 #BA81E2 #D5B2ED

Accessibility & contrast

On white

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

On black

4.56
#9F4FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F4FD6#FFFFFF#000000##FFFFFF
##9F4FD61.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#3976D3
Tritanopia (blue-blind)
#976A8B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4fd6;
/* rgb */ color: rgb(159, 79, 214);
/* oklch */ color: oklch(58.7% 0.204 308.7);
Tailwind
colors: {
  custom: {
    50: '#bf85e3',
    500: '#9f4fd6',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fd6;
$custom-light: #bf85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fd6",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 275.556,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.20366,
    "h": 308.7
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#9F4FD6
secondary
#BBDCA5
accent
#E54385
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9F4FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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