#9F4AE6#9F4AE6

#9F4AE6 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.2% C 0.227 H 305.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9F4AE6
RGBrgb(159, 74, 230)
HSLhsl(273, 76%, 60%)
HSVhsv(273, 68%, 90%)
CMYKcmyk(30.9%, 67.8%, 0%, 9.8%)
CIE-LABlab(49.47, 62.06, -65.06)
CIE-LCHlch(49.47, 89.91, 313.65°)
OKLaboklab(59.18% 0.1314 -0.1847)
OKLCHoklch(59.18% 0.227 305.4)
XYZxyz(31.0266, 17.9819, 76.6839)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4AE6 #91E64A
analogous
#514AE6 #9F4AE6 #E64ADF
triadic
#9F4AE6 #E69F4A #4AE69F
tetradic
#9F4AE6 #E6514A #91E64A #4ADFE6
square
#9F4AE6 #E6514A #91E64A #4ADFE6
split-complementary
#9F4AE6 #DFE64A #4AE651
monochromatic
#6116A0 #821DD5 #9F4AE6 #BC80ED #D8B6F5

Accessibility & contrast

On white

4.57
#9F4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9F4AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4AE6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4AE6#FFFFFF#000000##000000
##9F4AE61.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#1276E3
Tritanopia (blue-blind)
#926D92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4ae6;
/* rgb */ color: rgb(159, 74, 230);
/* oklch */ color: oklch(59.2% 0.227 305.4);
Tailwind
colors: {
  custom: {
    50: '#c082ef',
    500: '#9f4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ae6;
$custom-light: #c082ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ae6",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 272.692,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59178,
    "c": 0.22666,
    "h": 305.4
  },
  "luminance": 0.17982
}

Semantic roles & 50–950 ramp

primary
#9F4AE6
secondary
#C3E4A8
accent
#F2358B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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