#9F4DE3#9F4DE3

#9F4DE3 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.220 H 305.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9F4DE3
RGBrgb(159, 77, 227)
HSLhsl(273, 73%, 60%)
HSVhsv(273, 66%, 89%)
CMYKcmyk(30%, 66.1%, 0%, 11%)
CIE-LABlab(49.77, 60.00, -62.88)
CIE-LCHlch(49.77, 86.92, 313.66°)
OKLaboklab(59.32% 0.1286 -0.1783)
OKLCHoklch(59.32% 0.22 305.8)
XYZxyz(30.8141, 18.2250, 74.5526)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DE3 #91E34D
analogous
#544DE3 #9F4DE3 #E34DDC
triadic
#9F4DE3 #E39F4D #4DE39F
tetradic
#9F4DE3 #E3544D #91E34D #4DDCE3
square
#9F4DE3 #E3544D #91E34D #4DDCE3
split-complementary
#9F4DE3 #DCE34D #4DE354
monochromatic
#61199D #8221D2 #9F4DE3 #BC82EB #D8B7F4

Accessibility & contrast

On white

4.52
#9F4DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9F4DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4DE3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DE3#FFFFFF#000000##000000
##9F4DE31.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#2277E0
Tritanopia (blue-blind)
#936E92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4de3;
/* rgb */ color: rgb(159, 77, 227);
/* oklch */ color: oklch(59.3% 0.220 305.8);
Tailwind
colors: {
  custom: {
    50: '#c084ed',
    500: '#9f4de3',
    950: '#000000',
  },
}
SCSS
$custom: #9f4de3;
$custom-light: #c084ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4de3",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 272.8,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.21984,
    "h": 305.8
  },
  "luminance": 0.18225
}

Semantic roles & 50–950 ramp

primary
#9F4DE3
secondary
#C3E3A9
accent
#F0388B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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