#9F4DE2#9F4DE2

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

Color values

HEX#9F4DE2
RGBrgb(159, 77, 226)
HSLhsl(273, 72%, 59%)
HSVhsv(273, 66%, 89%)
CMYKcmyk(29.6%, 65.9%, 0%, 11.4%)
CIE-LABlab(49.70, 59.78, -62.43)
CIE-LCHlch(49.70, 86.43, 313.76°)
OKLaboklab(59.26% 0.1287 -0.177)
OKLCHoklch(59.26% 0.219 306)
XYZxyz(30.6764, 18.1699, 73.8278)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DE2 #90E24D
analogous
#554DE2 #9F4DE2 #E24DDB
triadic
#9F4DE2 #E29F4D #4DE29F
tetradic
#9F4DE2 #E2554D #90E24D #4DDBE2
square
#9F4DE2 #E2554D #90E24D #4DDBE2
split-complementary
#9F4DE2 #DBE24D #4DE255
monochromatic
#61199B #8222D0 #9F4DE2 #BB82EB #D8B6F3

Accessibility & contrast

On white

4.53
#9F4DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9F4DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4DE2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DE2#FFFFFF#000000##000000
##9F4DE21.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#2477DF
Tritanopia (blue-blind)
#936D91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4de2;
/* rgb */ color: rgb(159, 77, 226);
/* oklch */ color: oklch(59.3% 0.219 306.0);
Tailwind
colors: {
  custom: {
    50: '#c084ec',
    500: '#9f4de2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4de2;
$custom-light: #c084ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4de2",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 273.02,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59256,
    "c": 0.21881,
    "h": 306
  },
  "luminance": 0.1817
}

Semantic roles & 50–950 ramp

primary
#9F4DE2
secondary
#C2E2A8
accent
#EF398B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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