#9F4AF2#9F4AF2

#9F4AF2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.0% C 0.239 H 302.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9F4AF2
RGBrgb(159, 74, 242)
HSLhsl(270, 87%, 62%)
HSVhsv(270, 69%, 95%)
CMYKcmyk(34.3%, 69.4%, 0%, 5.1%)
CIE-LABlab(50.31, 64.79, -70.45)
CIE-LCHlch(50.31, 95.71, 312.60°)
OKLaboklab(60.04% 0.1297 -0.2005)
OKLCHoklch(60.04% 0.239 302.9)
XYZxyz(32.7701, 18.6793, 85.8662)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4AF2 #9DF24A
analogous
#4B4AF2 #9F4AF2 #F24AF1
triadic
#9F4AF2 #F29F4A #4AF29F
tetradic
#9F4AF2 #F24B4A #9DF24A #4AF1F2
square
#9F4AF2 #F24B4A #9DF24A #4AF1F2
split-complementary
#9F4AF2 #F1F24A #4AF24B
monochromatic
#620DB5 #8111EE #9F4AF2 #BD83F6 #DCBCFA

Accessibility & contrast

On white

4.43
#9F4AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9F4AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4AF2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4AF2#FFFFFF#000000##000000
##9F4AF21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#8E7299
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f4af2;
/* rgb */ color: rgb(159, 74, 242);
/* oklch */ color: oklch(60.0% 0.239 302.9);
Tailwind
colors: {
  custom: {
    50: '#c183f7',
    500: '#9f4af2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4af2;
$custom-light: #c183f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4af2",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 242
  },
  "hsl": {
    "h": 270.357,
    "s": 86.598,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.23885,
    "h": 302.9
  },
  "luminance": 0.18679
}

Semantic roles & 50–950 ramp

primary
#9F4AF2
secondary
#CCEBAD
accent
#E30271
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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