#9B54CF#9B54CF

#9B54CF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.5% C 0.188 H 308.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9B54CF
RGBrgb(155, 84, 207)
HSLhsl(275, 56%, 57%)
HSVhsv(275, 59%, 81%)
CMYKcmyk(25.1%, 59.4%, 0%, 18.8%)
CIE-LABlab(49.27, 51.15, -52.33)
CIE-LCHlch(49.27, 73.17, 314.35°)
OKLaboklab(58.46% 0.1164 -0.1475)
OKLCHoklch(58.46% 0.188 308.3)
XYZxyz(27.9481, 17.8146, 60.9856)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54CF #88CF54
analogous
#5E54CF #9B54CF #CF54C6
triadic
#9B54CF #CF9B54 #54CF9B
tetradic
#9B54CF #CF5E54 #88CF54 #54C6CF
square
#9B54CF #CF5E54 #88CF54 #54C6CF
split-complementary
#9B54CF #C6CF54 #54CF5E
monochromatic
#5C2584 #7D32B3 #9B54CF #B784DC #D3B4EA

Accessibility & contrast

On white

4.60
#9B54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9B54CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B54CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54CF#FFFFFF#000000##FFFFFF
##9B54CF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#936C8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b54cf;
/* rgb */ color: rgb(155, 84, 207);
/* oklch */ color: oklch(58.5% 0.188 308.3);
Tailwind
colors: {
  custom: {
    50: '#bc87de',
    500: '#9b54cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b54cf;
$custom-light: #bc87de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54cf",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 274.634,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58455,
    "c": 0.18787,
    "h": 308.3
  },
  "luminance": 0.17814
}

Semantic roles & 50–950 ramp

primary
#9B54CF
secondary
#BCD8A6
accent
#DF4888
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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