#9F4EE4#9F4EE4

#9F4EE4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.220 H 305.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9F4EE4
RGBrgb(159, 78, 228)
HSLhsl(272, 74%, 60%)
HSVhsv(272, 66%, 89%)
CMYKcmyk(30.3%, 65.8%, 0%, 10.6%)
CIE-LABlab(50.00, 59.76, -63.07)
CIE-LCHlch(50.00, 86.89, 313.46°)
OKLaboklab(59.51% 0.1274 -0.1789)
OKLCHoklch(59.51% 0.22 305.5)
XYZxyz(31.0230, 18.4214, 75.3051)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4EE4 #93E44E
analogous
#544EE4 #9F4EE4 #E44EDE
triadic
#9F4EE4 #E49F4E #4EE49F
tetradic
#9F4EE4 #E4544E #93E44E #4EDEE4
square
#9F4EE4 #E4544E #93E44E #4EDEE4
split-complementary
#9F4EE4 #DEE44E #4EE454
monochromatic
#61189F #8220D4 #9F4EE4 #BC83EC #D9B8F4

Accessibility & contrast

On white

4.48
#9F4EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9F4EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4EE4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4EE4#FFFFFF#000000##000000
##9F4EE41.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2277E1
Tritanopia (blue-blind)
#936F93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4ee4;
/* rgb */ color: rgb(159, 78, 228);
/* oklch */ color: oklch(59.5% 0.220 305.5);
Tailwind
colors: {
  custom: {
    50: '#c085ed',
    500: '#9f4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ee4;
$custom-light: #c085ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ee4",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 272.4,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.2196,
    "h": 305.5
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#9F4EE4
secondary
#C5E4AA
accent
#F0388D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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