#9F4ADF#9F4ADF

#9F4ADF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.7% C 0.220 H 307.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9F4ADF
RGBrgb(159, 74, 223)
HSLhsl(274, 70%, 58%)
HSVhsv(274, 67%, 87%)
CMYKcmyk(28.7%, 66.8%, 0%, 12.5%)
CIE-LABlab(49.00, 60.49, -61.85)
CIE-LCHlch(49.00, 86.51, 314.36°)
OKLaboklab(58.69% 0.1322 -0.1753)
OKLCHoklch(58.69% 0.22 307)
XYZxyz(30.0633, 17.5966, 71.6104)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4ADF #8ADF4A
analogous
#544ADF #9F4ADF #DF4AD5
triadic
#9F4ADF #DF9F4A #4ADF9F
tetradic
#9F4ADF #DF544A #8ADF4A #4AD5DF
square
#9F4ADF #DF544A #8ADF4A #4AD5DF
split-complementary
#9F4ADF #D5DF4A #4ADF54
monochromatic
#601A94 #8223C8 #9F4ADF #BB7EE8 #D6B2F1

Accessibility & contrast

On white

4.65
#9F4ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9F4ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4ADF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4ADF#FFFFFF#000000##FFFFFF
##9F4ADF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#2475DC
Tritanopia (blue-blind)
#946A8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4adf;
/* rgb */ color: rgb(159, 74, 223);
/* oklch */ color: oklch(58.7% 0.220 307.0);
Tailwind
colors: {
  custom: {
    50: '#c082ea',
    500: '#9f4adf',
    950: '#000000',
  },
}
SCSS
$custom: #9f4adf;
$custom-light: #c082ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4adf",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 223
  },
  "hsl": {
    "h": 274.228,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58691,
    "c": 0.21954,
    "h": 307
  },
  "luminance": 0.17596
}

Semantic roles & 50–950 ramp

primary
#9F4ADF
secondary
#BEE0A5
accent
#ED3B87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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