#9F54CD#9F54CD

#9F54CD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.8% C 0.187 H 310.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9F54CD
RGBrgb(159, 84, 205)
HSLhsl(277, 55%, 57%)
HSVhsv(277, 59%, 80%)
CMYKcmyk(22.4%, 59%, 0%, 19.6%)
CIE-LABlab(49.64, 51.67, -50.56)
CIE-LCHlch(49.64, 72.29, 315.62°)
OKLaboklab(58.79% 0.1215 -0.1422)
OKLCHoklch(58.79% 0.187 310.5)
XYZxyz(28.4858, 18.1199, 59.7427)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F54CD #82CD54
analogous
#6354CD #9F54CD #CD54BF
triadic
#9F54CD #CD9F54 #54CD9F
tetradic
#9F54CD #CD6354 #82CD54 #54BFCD
square
#9F54CD #CD6354 #82CD54 #54BFCD
split-complementary
#9F54CD #BFCD54 #54CD63
monochromatic
#5E2681 #8134B0 #9F54CD #BA83DB #D4B3E9

Accessibility & contrast

On white

4.54
#9F54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9F54CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F54CD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F54CD#FFFFFF#000000##000000
##9F54CD1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#996A89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f54cd;
/* rgb */ color: rgb(159, 84, 205);
/* oklch */ color: oklch(58.8% 0.187 310.5);
Tailwind
colors: {
  custom: {
    50: '#be88dd',
    500: '#9f54cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f54cd;
$custom-light: #be88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f54cd",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 277.19,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.18699,
    "h": 310.5
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#9F54CD
secondary
#B8D7A6
accent
#DE4A82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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