#9F4FE1#9F4FE1

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

Color values

HEX#9F4FE1
RGBrgb(159, 79, 225)
HSLhsl(273, 71%, 60%)
HSVhsv(273, 65%, 88%)
CMYKcmyk(29.3%, 64.9%, 0%, 11.8%)
CIE-LABlab(49.98, 58.61, -61.42)
CIE-LCHlch(49.98, 84.89, 313.66°)
OKLaboklab(59.43% 0.1266 -0.174)
OKLCHoklch(59.43% 0.215 306)
XYZxyz(30.6817, 18.3994, 73.1547)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FE1 #91E14F
analogous
#564FE1 #9F4FE1 #E14FDA
triadic
#9F4FE1 #E19F4F #4FE19F
tetradic
#9F4FE1 #E1564F #91E14F #4FDAE1
square
#9F4FE1 #E1564F #91E14F #4FDAE1
split-complementary
#9F4FE1 #DAE14F #4FE156
monochromatic
#611A9B #8223CF #9F4FE1 #BC83EA #D8B8F3

Accessibility & contrast

On white

4.49
#9F4FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F4FE1#FFFFFF#000000##000000
##9F4FE11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#2A77DE
Tritanopia (blue-blind)
#946E91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4fe1;
/* rgb */ color: rgb(159, 79, 225);
/* oklch */ color: oklch(59.4% 0.215 306.0);
Tailwind
colors: {
  custom: {
    50: '#c085eb',
    500: '#9f4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fe1;
$custom-light: #c085eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fe1",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 272.877,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.21518,
    "h": 306
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#9F4FE1
secondary
#C3E2AA
accent
#EE3A8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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