#9F4FE6#9F4FE6

#9F4FE6 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.220 H 304.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9F4FE6
RGBrgb(159, 79, 230)
HSLhsl(272, 75%, 61%)
HSVhsv(272, 66%, 90%)
CMYKcmyk(30.9%, 65.7%, 0%, 9.8%)
CIE-LABlab(50.31, 59.75, -63.71)
CIE-LCHlch(50.31, 87.34, 313.16°)
OKLaboklab(59.77% 0.1261 -0.1807)
OKLCHoklch(59.77% 0.22 304.9)
XYZxyz(31.3738, 18.6762, 76.7996)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FE6 #96E64F
analogous
#534FE6 #9F4FE6 #E64FE1
triadic
#9F4FE6 #E69F4F #4FE69F
tetradic
#9F4FE6 #E6534F #96E64F #4FE1E6
square
#9F4FE6 #E6534F #96E64F #4FE1E6
split-complementary
#9F4FE6 #E1E64F #4FE653
monochromatic
#6117A3 #811FD9 #9F4FE6 #BC85EE #D9BAF5

Accessibility & contrast

On white

4.43
#9F4FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9F4FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4FE6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FE6#FFFFFF#000000##000000
##9F4FE61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#2078E3
Tritanopia (blue-blind)
#927094
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f4fe6;
/* rgb */ color: rgb(159, 79, 230);
/* oklch */ color: oklch(59.8% 0.220 304.9);
Tailwind
colors: {
  custom: {
    50: '#c085ef',
    500: '#9f4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fe6;
$custom-light: #c085ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fe6",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 271.788,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.22041,
    "h": 304.9
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#9F4FE6
secondary
#C7E5AC
accent
#D70E6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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