#9F4CD2#9F4CD2

#9F4CD2 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.204 H 310.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9F4CD2
RGBrgb(159, 76, 210)
HSLhsl(277, 60%, 56%)
HSVhsv(277, 64%, 82%)
CMYKcmyk(24.3%, 63.8%, 0%, 17.6%)
CIE-LABlab(48.50, 56.68, -55.25)
CIE-LCHlch(48.50, 79.15, 315.73°)
OKLaboklab(58.07% 0.131 -0.1559)
OKLCHoklch(58.07% 0.204 310)
XYZxyz(28.5131, 17.1935, 62.7769)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CD2 #7FD24C
analogous
#5C4CD2 #9F4CD2 #D24CC2
triadic
#9F4CD2 #D29F4C #4CD29F
tetradic
#9F4CD2 #D25C4C #7FD24C #4CC2D2
square
#9F4CD2 #D25C4C #7FD24C #4CC2D2
split-complementary
#9F4CD2 #C2D24C #4CD25C
monochromatic
#5D2183 #802DB4 #9F4CD2 #B97DDE #D3AEEB

Accessibility & contrast

On white

4.73
#9F4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9F4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CD2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CD2#FFFFFF#000000##FFFFFF
##9F4CD21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3A75CF
Tritanopia (blue-blind)
#986788
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f4cd2;
/* rgb */ color: rgb(159, 76, 210);
/* oklch */ color: oklch(58.1% 0.204 310.0);
Tailwind
colors: {
  custom: {
    50: '#bf83e0',
    500: '#9f4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cd2;
$custom-light: #bf83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cd2",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 277.164,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.20361,
    "h": 310
  },
  "luminance": 0.17193
}

Semantic roles & 50–950 ramp

primary
#9F4CD2
secondary
#B6D9A1
accent
#E34581
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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