#9F54CE#9F54CE

#9F54CE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.9% C 0.188 H 310.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9F54CE
RGBrgb(159, 84, 206)
HSLhsl(277, 55%, 57%)
HSVhsv(277, 59%, 81%)
CMYKcmyk(22.8%, 59.2%, 0%, 19.2%)
CIE-LABlab(49.70, 51.89, -51.04)
CIE-LCHlch(49.70, 72.78, 315.47°)
OKLaboklab(58.86% 0.1215 -0.1436)
OKLCHoklch(58.86% 0.188 310.2)
XYZxyz(28.6069, 18.1684, 60.3804)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F54CE #83CE54
analogous
#6254CE #9F54CE #CE54C0
triadic
#9F54CE #CE9F54 #54CE9F
tetradic
#9F54CE #CE6254 #83CE54 #54C0CE
square
#9F54CE #CE6254 #83CE54 #54C0CE
split-complementary
#9F54CE #C0CE54 #54CE62
monochromatic
#5E2582 #8133B2 #9F54CE #BA84DC #D4B3E9

Accessibility & contrast

On white

4.53
#9F54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9F54CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F54CE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F54CE#FFFFFF#000000##000000
##9F54CE1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2673D2
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#996B89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f54ce;
/* rgb */ color: rgb(159, 84, 206);
/* oklch */ color: oklch(58.9% 0.188 310.2);
Tailwind
colors: {
  custom: {
    50: '#bf88dd',
    500: '#9f54ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f54ce;
$custom-light: #bf88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f54ce",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 276.885,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.18806,
    "h": 310.2
  },
  "luminance": 0.18168
}

Semantic roles & 50–950 ramp

primary
#9F54CE
secondary
#B9D8A6
accent
#DF4983
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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