#9F4CCD#9F4CCD

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

Color values

HEX#9F4CCD
RGBrgb(159, 76, 205)
HSLhsl(279, 56%, 55%)
HSVhsv(279, 63%, 80%)
CMYKcmyk(22.4%, 62.9%, 0%, 19.6%)
CIE-LABlab(48.19, 55.59, -52.87)
CIE-LCHlch(48.19, 76.72, 316.44°)
OKLaboklab(57.74% 0.1312 -0.1489)
OKLCHoklch(57.74% 0.198 311.4)
XYZxyz(27.8999, 16.9482, 59.5474)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CCD #7ACD4C
analogous
#5F4CCD #9F4CCD #CD4CBA
triadic
#9F4CCD #CD9F4C #4CCD9F
tetradic
#9F4CCD #CD5F4C #7ACD4C #4CBACD
square
#9F4CCD #CD5F4C #7ACD4C #4CBACD
split-complementary
#9F4CCD #BACD4C #4CCD5F
monochromatic
#5C237C #8030AC #9F4CCD #B97CDA #D2ACE8

Accessibility & contrast

On white

4.78
#9F4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F4CCD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CCD#FFFFFF#000000##FFFFFF
##9F4CCD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6ED1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#996586
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f4ccd;
/* rgb */ color: rgb(159, 76, 205);
/* oklch */ color: oklch(57.7% 0.198 311.4);
Tailwind
colors: {
  custom: {
    50: '#bf83dd',
    500: '#9f4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ccd;
$custom-light: #bf83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ccd",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 278.605,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.19847,
    "h": 311.4
  },
  "luminance": 0.16948
}

Semantic roles & 50–950 ramp

primary
#9F4CCD
secondary
#B3D59F
accent
#E0487E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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