#9F4DCE#9F4DCE

#9F4DCE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.9% C 0.198 H 311.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9F4DCE
RGBrgb(159, 77, 206)
HSLhsl(278, 57%, 55%)
HSVhsv(278, 63%, 81%)
CMYKcmyk(22.8%, 62.6%, 0%, 19.2%)
CIE-LABlab(48.43, 55.33, -53.07)
CIE-LCHlch(48.43, 76.67, 316.20°)
OKLaboklab(57.93% 0.13 -0.1495)
OKLCHoklch(57.93% 0.198 311)
XYZxyz(28.0905, 17.1355, 60.2083)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DCE #7CCE4D
analogous
#5F4DCE #9F4DCE #CE4DBC
triadic
#9F4DCE #CE9F4D #4DCE9F
tetradic
#9F4DCE #CE5F4D #7CCE4D #4DBCCE
square
#9F4DCE #CE5F4D #7CCE4D #4DBCCE
split-complementary
#9F4DCE #BCCE4D #4DCE5F
monochromatic
#5D237E #8030AE #9F4DCE #B97DDB #D3ADE8

Accessibility & contrast

On white

4.74
#9F4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9F4DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4DCE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DCE#FFFFFF#000000##FFFFFF
##9F4DCE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6FD2
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#996687
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f4dce;
/* rgb */ color: rgb(159, 77, 206);
/* oklch */ color: oklch(57.9% 0.198 311.0);
Tailwind
colors: {
  custom: {
    50: '#bf83de',
    500: '#9f4dce',
    950: '#000000',
  },
}
SCSS
$custom: #9f4dce;
$custom-light: #bf83de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4dce",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 278.14,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57934,
    "c": 0.1981,
    "h": 311
  },
  "luminance": 0.17135
}

Semantic roles & 50–950 ramp

primary
#9F4DCE
secondary
#B4D6A1
accent
#E0487F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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