#9F4DCA#9F4DCA

#9F4DCA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.7% C 0.194 H 312.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9F4DCA
RGBrgb(159, 77, 202)
HSLhsl(279, 54%, 55%)
HSVhsv(279, 62%, 79%)
CMYKcmyk(21.3%, 61.9%, 0%, 20.8%)
CIE-LABlab(48.19, 54.47, -51.16)
CIE-LCHlch(48.19, 74.73, 316.79°)
OKLaboklab(57.68% 0.1301 -0.1439)
OKLCHoklch(57.68% 0.194 312.1)
XYZxyz(27.6107, 16.9436, 57.6816)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DCA #78CA4D
analogous
#614DCA #9F4DCA #CA4DB7
triadic
#9F4DCA #CA9F4D #4DCA9F
tetradic
#9F4DCA #CA614D #78CA4D #4DB7CA
square
#9F4DCA #CA614D #78CA4D #4DB7CA
split-complementary
#9F4DCA #B7CA4D #4DCA61
monochromatic
#5C2479 #7F32A8 #9F4DCA #B87CD8 #D2ABE6

Accessibility & contrast

On white

4.79
#9F4DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9F4DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4DCA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DCA#FFFFFF#000000##FFFFFF
##9F4DCA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196ECE
Deuteranopia (green-blind)
#4374C7
Tritanopia (blue-blind)
#9A6584
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f4dca;
/* rgb */ color: rgb(159, 77, 202);
/* oklch */ color: oklch(57.7% 0.194 312.1);
Tailwind
colors: {
  custom: {
    50: '#bf83db',
    500: '#9f4dca',
    950: '#000000',
  },
}
SCSS
$custom: #9f4dca;
$custom-light: #bf83db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4dca",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 279.36,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57681,
    "c": 0.19397,
    "h": 312.1
  },
  "luminance": 0.16943
}

Semantic roles & 50–950 ramp

primary
#9F4DCA
secondary
#B1D49F
accent
#DD4A7D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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