#9F4FD7#9F4FD7

#9F4FD7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.205 H 308.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9F4FD7
RGBrgb(159, 79, 215)
HSLhsl(275, 63%, 58%)
HSVhsv(275, 63%, 84%)
CMYKcmyk(26%, 63.3%, 0%, 15.7%)
CIE-LABlab(49.34, 56.36, -56.76)
CIE-LCHlch(49.34, 79.99, 314.79°)
OKLaboklab(58.77% 0.1273 -0.1603)
OKLCHoklch(58.77% 0.205 308.4)
XYZxyz(29.3573, 17.8696, 66.1794)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FD7 #87D74F
analogous
#5B4FD7 #9F4FD7 #D74FCB
triadic
#9F4FD7 #D79F4F #4FD79F
tetradic
#9F4FD7 #D75B4F #87D74F #4FCBD7
square
#9F4FD7 #D75B4F #87D74F #4FCBD7
split-complementary
#9F4FD7 #CBD74F #4FD75B
monochromatic
#5F208C #812BBE #9F4FD7 #BA81E2 #D5B3EE

Accessibility & contrast

On white

4.59
#9F4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9F4FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4FD7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FD7#FFFFFF#000000##FFFFFF
##9F4FD71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#3876D4
Tritanopia (blue-blind)
#976B8C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4fd7;
/* rgb */ color: rgb(159, 79, 215);
/* oklch */ color: oklch(58.8% 0.205 308.4);
Tailwind
colors: {
  custom: {
    50: '#bf85e4',
    500: '#9f4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fd7;
$custom-light: #bf85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fd7",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 275.294,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58768,
    "c": 0.20471,
    "h": 308.4
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#9F4FD7
secondary
#BCDCA6
accent
#E64285
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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