#9F4ADC#9F4ADC

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

Color values

HEX#9F4ADC
RGBrgb(159, 74, 220)
HSLhsl(275, 68%, 58%)
HSVhsv(275, 66%, 86%)
CMYKcmyk(27.7%, 66.4%, 0%, 13.7%)
CIE-LABlab(48.80, 59.82, -60.47)
CIE-LCHlch(48.80, 85.06, 314.69°)
OKLaboklab(58.49% 0.1325 -0.1712)
OKLCHoklch(58.49% 0.216 307.7)
XYZxyz(29.6624, 17.4362, 69.4992)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4ADC #87DC4A
analogous
#564ADC #9F4ADC #DC4AD0
triadic
#9F4ADC #DC9F4A #4ADC9F
tetradic
#9F4ADC #DC564A #87DC4A #4AD0DC
square
#9F4ADC #DC564A #87DC4A #4AD0DC
split-complementary
#9F4ADC #D0DC4A #4ADC56
monochromatic
#5F1C90 #8126C3 #9F4ADC #BA7DE6 #D5B1F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F4ADC#FFFFFF#000000##FFFFFF
##9F4ADC1.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)
#0071E0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#95698D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4adc;
/* rgb */ color: rgb(159, 74, 220);
/* oklch */ color: oklch(58.5% 0.216 307.7);
Tailwind
colors: {
  custom: {
    50: '#c082e8',
    500: '#9f4adc',
    950: '#000000',
  },
}
SCSS
$custom: #9f4adc;
$custom-light: #c082e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4adc",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 274.932,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58486,
    "c": 0.21648,
    "h": 307.7
  },
  "luminance": 0.17436
}

Semantic roles & 50–950 ramp

primary
#9F4ADC
secondary
#BCDEA4
accent
#EA3D86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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