#9F4EE6#9F4EE6

#9F4EE6 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.7% C 0.222 H 305.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9F4EE6
RGBrgb(159, 78, 230)
HSLhsl(272, 75%, 60%)
HSVhsv(272, 66%, 90%)
CMYKcmyk(30.9%, 66.1%, 0%, 9.8%)
CIE-LABlab(50.14, 60.22, -63.98)
CIE-LCHlch(50.14, 87.86, 313.26°)
OKLaboklab(59.65% 0.1272 -0.1815)
OKLCHoklch(59.65% 0.222 305)
XYZxyz(31.3022, 18.5331, 76.7758)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4EE6 #95E64E
analogous
#534EE6 #9F4EE6 #E64EE1
triadic
#9F4EE6 #E69F4E #4EE69F
tetradic
#9F4EE6 #E6534E #95E64E #4EE1E6
square
#9F4EE6 #E6534E #95E64E #4EE1E6
split-complementary
#9F4EE6 #E1E64E #4EE653
monochromatic
#6117A3 #821FD8 #9F4EE6 #BC84EE #D9B9F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F4EE6#FFFFFF#000000##000000
##9F4EE61.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)
#0075EB
Deuteranopia (green-blind)
#1D77E3
Tritanopia (blue-blind)
#927094
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4ee6;
/* rgb */ color: rgb(159, 78, 230);
/* oklch */ color: oklch(59.7% 0.222 305.0);
Tailwind
colors: {
  custom: {
    50: '#c085ef',
    500: '#9f4ee6',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ee6;
$custom-light: #c085ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ee6",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 271.974,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59652,
    "c": 0.22168,
    "h": 305
  },
  "luminance": 0.18533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F4EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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