#9F4CD7#9F4CD7

#9F4CD7 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.209 H 308.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9F4CD7
RGBrgb(159, 76, 215)
HSLhsl(276, 63%, 57%)
HSVhsv(276, 65%, 84%)
CMYKcmyk(26%, 64.7%, 0%, 15.7%)
CIE-LABlab(48.82, 57.78, -57.60)
CIE-LCHlch(48.82, 81.59, 315.09°)
OKLaboklab(58.39% 0.1307 -0.1628)
OKLCHoklch(58.39% 0.209 308.8)
XYZxyz(29.1458, 17.4466, 66.1089)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CD7 #84D74C
analogous
#5A4CD7 #9F4CD7 #D74CCA
triadic
#9F4CD7 #D79F4C #4CD79F
tetradic
#9F4CD7 #D75A4C #84D74C #4CCAD7
square
#9F4CD7 #D75A4C #84D74C #4CCAD7
split-complementary
#9F4CD7 #CAD74C #4CD75A
monochromatic
#5F1F8A #812ABC #9F4CD7 #BA7EE2 #D5B0ED

Accessibility & contrast

On white

4.68
#9F4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9F4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CD7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CD7#FFFFFF#000000##FFFFFF
##9F4CD71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#3475D4
Tritanopia (blue-blind)
#97698B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4cd7;
/* rgb */ color: rgb(159, 76, 215);
/* oklch */ color: oklch(58.4% 0.209 308.8);
Tailwind
colors: {
  custom: {
    50: '#bf83e4',
    500: '#9f4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cd7;
$custom-light: #bf83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cd7",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 275.827,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.20875,
    "h": 308.8
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#9F4CD7
secondary
#BADCA3
accent
#E64184
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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