#9F4FD5#9F4FD5

#9F4FD5 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.203 H 308.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9F4FD5
RGBrgb(159, 79, 213)
HSLhsl(276, 61%, 57%)
HSVhsv(276, 63%, 84%)
CMYKcmyk(25.4%, 62.9%, 0%, 16.5%)
CIE-LABlab(49.21, 55.91, -55.82)
CIE-LCHlch(49.21, 79.01, 315.05°)
OKLaboklab(58.64% 0.1274 -0.1576)
OKLCHoklch(58.64% 0.203 308.9)
XYZxyz(29.1019, 17.7675, 64.8343)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FD5 #85D54F
analogous
#5C4FD5 #9F4FD5 #D54FC8
triadic
#9F4FD5 #D59F4F #4FD59F
tetradic
#9F4FD5 #D55C4F #85D54F #4FC8D5
square
#9F4FD5 #D55C4F #85D54F #4FC8D5
split-complementary
#9F4FD5 #C8D54F #4FD55C
monochromatic
#5F2189 #812CBA #9F4FD5 #BA80E1 #D5B2ED

Accessibility & contrast

On white

4.61
#9F4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9F4FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4FD5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FD5#FFFFFF#000000##FFFFFF
##9F4FD51.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#3A76D2
Tritanopia (blue-blind)
#976A8B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4fd5;
/* rgb */ color: rgb(159, 79, 213);
/* oklch */ color: oklch(58.6% 0.203 308.9);
Tailwind
colors: {
  custom: {
    50: '#bf85e3',
    500: '#9f4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fd5;
$custom-light: #bf85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fd5",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 275.821,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58638,
    "c": 0.20261,
    "h": 308.9
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

primary
#9F4FD5
secondary
#BBDBA5
accent
#E54384
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9F4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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