#9F4CE4#9F4CE4

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

Color values

HEX#9F4CE4
RGBrgb(159, 76, 228)
HSLhsl(273, 74%, 60%)
HSVhsv(273, 67%, 89%)
CMYKcmyk(30.3%, 66.7%, 0%, 10.6%)
CIE-LABlab(49.67, 60.69, -63.61)
CIE-LCHlch(49.67, 87.92, 313.65°)
OKLaboklab(59.27% 0.1296 -0.1804)
OKLCHoklch(59.27% 0.222 305.7)
XYZxyz(30.8830, 18.1415, 75.2584)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CE4 #91E44C
analogous
#534CE4 #9F4CE4 #E44CDD
triadic
#9F4CE4 #E49F4C #4CE49F
tetradic
#9F4CE4 #E4534C #91E44C #4CDDE4
square
#9F4CE4 #E4534C #91E44C #4CDDE4
split-complementary
#9F4CE4 #DDE44C #4CE453
monochromatic
#61189E #8220D3 #9F4CE4 #BC81EC #D8B6F4

Accessibility & contrast

On white

4.54
#9F4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9F4CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4CE4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CE4#FFFFFF#000000##000000
##9F4CE41.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#1E76E1
Tritanopia (blue-blind)
#936E92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4ce4;
/* rgb */ color: rgb(159, 76, 228);
/* oklch */ color: oklch(59.3% 0.222 305.7);
Tailwind
colors: {
  custom: {
    50: '#c084ed',
    500: '#9f4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ce4;
$custom-light: #c084ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ce4",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 272.763,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.22214,
    "h": 305.7
  },
  "luminance": 0.18141
}

Semantic roles & 50–950 ramp

primary
#9F4CE4
secondary
#C3E3A8
accent
#F0378B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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