#9F54CF#9F54CF

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

Color values

HEX#9F54CF
RGBrgb(159, 84, 207)
HSLhsl(277, 56%, 57%)
HSVhsv(277, 59%, 81%)
CMYKcmyk(23.2%, 59.4%, 0%, 18.8%)
CIE-LABlab(49.76, 52.11, -51.52)
CIE-LCHlch(49.76, 73.28, 315.33°)
OKLaboklab(58.92% 0.1215 -0.145)
OKLCHoklch(58.92% 0.189 310)
XYZxyz(28.7287, 18.2171, 61.0222)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F54CF #84CF54
analogous
#6254CF #9F54CF #CF54C2
triadic
#9F54CF #CF9F54 #54CF9F
tetradic
#9F54CF #CF6254 #84CF54 #54C2CF
square
#9F54CF #CF6254 #84CF54 #54C2CF
split-complementary
#9F54CF #C2CF54 #54CF62
monochromatic
#5F2584 #8132B3 #9F54CF #BA84DC #D5B4EA

Accessibility & contrast

On white

4.52
#9F54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9F54CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F54CF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F54CF#FFFFFF#000000##000000
##9F54CF1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#996B8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f54cf;
/* rgb */ color: rgb(159, 84, 207);
/* oklch */ color: oklch(58.9% 0.189 310.0);
Tailwind
colors: {
  custom: {
    50: '#bf88de',
    500: '#9f54cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f54cf;
$custom-light: #bf88de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f54cf",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 276.585,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58917,
    "c": 0.18914,
    "h": 310
  },
  "luminance": 0.18217
}

Semantic roles & 50–950 ramp

primary
#9F54CF
secondary
#BAD8A6
accent
#DF4883
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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