#9B54E7#9B54E7

#9B54E7 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.214 H 302.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9B54E7
RGBrgb(155, 84, 231)
HSLhsl(269, 75%, 62%)
HSVhsv(269, 64%, 91%)
CMYKcmyk(32.9%, 63.6%, 0%, 9.4%)
CIE-LABlab(50.78, 56.73, -63.53)
CIE-LCHlch(50.78, 85.18, 311.76°)
OKLaboklab(60.03% 0.1154 -0.1804)
OKLCHoklch(60.03% 0.214 302.6)
XYZxyz(31.1083, 19.0787, 77.6295)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B54E7 #A0E754
analogous
#5456E7 #9B54E7 #E554E7
triadic
#9B54E7 #E79B54 #54E79B
tetradic
#9B54E7 #E75456 #A0E754 #54E7E5
square
#9B54E7 #E75456 #A0E754 #54E7E5
split-complementary
#9B54E7 #E7E554 #56E754
monochromatic
#5E18A9 #7C1FDF #9B54E7 #BA8AEF #DABFF6

Accessibility & contrast

On white

4.36
#9B54E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9B54E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B54E7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B54E7#FFFFFF#000000##000000
##9B54E71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#2078E4
Tritanopia (blue-blind)
#8C7496
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b54e7;
/* rgb */ color: rgb(155, 84, 231);
/* oklch */ color: oklch(60.0% 0.214 302.6);
Tailwind
colors: {
  custom: {
    50: '#bd88ef',
    500: '#9b54e7',
    950: '#000000',
  },
}
SCSS
$custom: #9b54e7;
$custom-light: #bd88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b54e7",
  "rgb": {
    "r": 155,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 268.98,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60031,
    "c": 0.21412,
    "h": 302.6
  },
  "luminance": 0.19079
}

Semantic roles & 50–950 ramp

primary
#9B54E7
secondary
#CCE7B0
accent
#D80E76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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