#9F4AE8#9F4AE8

#9F4AE8 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.229 H 305.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9F4AE8
RGBrgb(159, 74, 232)
HSLhsl(272, 77%, 60%)
HSVhsv(272, 68%, 91%)
CMYKcmyk(31.5%, 68.1%, 0%, 9%)
CIE-LABlab(49.61, 62.51, -65.96)
CIE-LCHlch(49.61, 90.88, 313.46°)
OKLaboklab(59.32% 0.1312 -0.1873)
OKLCHoklch(59.32% 0.229 305)
XYZxyz(31.3091, 18.0949, 78.1715)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4AE8 #93E84A
analogous
#504AE8 #9F4AE8 #E84AE2
triadic
#9F4AE8 #E89F4A #4AE89F
tetradic
#9F4AE8 #E8504A #93E84A #4AE2E8
square
#9F4AE8 #E8504A #93E84A #4AE2E8
split-complementary
#9F4AE8 #E2E84A #4AE850
monochromatic
#6115A3 #821CD9 #9F4AE8 #BC80EF #D9B7F6

Accessibility & contrast

On white

4.55
#9F4AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9F4AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4AE8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4AE8#FFFFFF#000000##000000
##9F4AE81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0876E5
Tritanopia (blue-blind)
#926E94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4ae8;
/* rgb */ color: rgb(159, 74, 232);
/* oklch */ color: oklch(59.3% 0.229 305.0);
Tailwind
colors: {
  custom: {
    50: '#c183f0',
    500: '#9f4ae8',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ae8;
$custom-light: #c183f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ae8",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 272.278,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.59319,
    "c": 0.2287,
    "h": 305
  },
  "luminance": 0.18095
}

Semantic roles & 50–950 ramp

primary
#9F4AE8
secondary
#C5E5A8
accent
#F4348D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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