#9F4FE4#9F4FE4

#9F4FE4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.218 H 305.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9F4FE4
RGBrgb(159, 79, 228)
HSLhsl(272, 73%, 60%)
HSVhsv(272, 65%, 89%)
CMYKcmyk(30.3%, 65.4%, 0%, 10.6%)
CIE-LABlab(50.17, 59.29, -62.79)
CIE-LCHlch(50.17, 86.36, 313.36°)
OKLaboklab(59.64% 0.1263 -0.1781)
OKLCHoklch(59.64% 0.218 305.4)
XYZxyz(31.0946, 18.5645, 75.3289)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FE4 #94E44F
analogous
#554FE4 #9F4FE4 #E44FDE
triadic
#9F4FE4 #E49F4F #4FE49F
tetradic
#9F4FE4 #E4554F #94E44F #4FDEE4
square
#9F4FE4 #E4554F #94E44F #4FDEE4
split-complementary
#9F4FE4 #DEE44F #4FE455
monochromatic
#6119A0 #8221D5 #9F4FE4 #BC84EC #D9B9F4

Accessibility & contrast

On white

4.46
#9F4FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9F4FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4FE4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FE4#FFFFFF#000000##000000
##9F4FE41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f4fe4;
/* rgb */ color: rgb(159, 79, 228);
/* oklch */ color: oklch(59.6% 0.218 305.4);
Tailwind
colors: {
  custom: {
    50: '#c085ed',
    500: '#9f4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fe4;
$custom-light: #c085ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fe4",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 272.215,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59637,
    "c": 0.21832,
    "h": 305.4
  },
  "luminance": 0.18564
}

Semantic roles & 50–950 ramp

primary
#9F4FE4
secondary
#C5E4AB
accent
#D6106B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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