#9F4FE5#9F4FE5

#9F4FE5 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.219 H 305.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9F4FE5
RGBrgb(159, 79, 229)
HSLhsl(272, 74%, 60%)
HSVhsv(272, 66%, 90%)
CMYKcmyk(30.6%, 65.5%, 0%, 10.2%)
CIE-LABlab(50.24, 59.52, -63.25)
CIE-LCHlch(50.24, 86.85, 313.26°)
OKLaboklab(59.71% 0.1262 -0.1794)
OKLCHoklch(59.71% 0.219 305.1)
XYZxyz(31.2338, 18.6202, 76.0622)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FE5 #95E54F
analogous
#544FE5 #9F4FE5 #E54FE0
triadic
#9F4FE5 #E59F4F #4FE59F
tetradic
#9F4FE5 #E5544F #95E54F #4FE0E5
square
#9F4FE5 #E5544F #95E54F #4FE0E5
split-complementary
#9F4FE5 #E0E54F #4FE554
monochromatic
#6118A2 #8220D7 #9F4FE5 #BC84ED #D9BAF5

Accessibility & contrast

On white

4.45
#9F4FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9F4FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4FE5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FE5#FFFFFF#000000##000000
##9F4FE51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#2278E2
Tritanopia (blue-blind)
#927093
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f4fe5;
/* rgb */ color: rgb(159, 79, 229);
/* oklch */ color: oklch(59.7% 0.219 305.1);
Tailwind
colors: {
  custom: {
    50: '#c085ee',
    500: '#9f4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fe5;
$custom-light: #c085ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fe5",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 272,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59705,
    "c": 0.21937,
    "h": 305.1
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#9F4FE5
secondary
#C6E5AB
accent
#D60F6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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