#9A54E7#9A54E7

#9A54E7 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.214 H 302.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9A54E7
RGBrgb(154, 84, 231)
HSLhsl(269, 75%, 62%)
HSVhsv(269, 64%, 91%)
CMYKcmyk(33.3%, 63.6%, 0%, 9.4%)
CIE-LABlab(50.66, 56.52, -63.73)
CIE-LCHlch(50.66, 85.18, 311.57°)
OKLaboklab(59.92% 0.1141 -0.181)
OKLCHoklch(59.92% 0.214 302.2)
XYZxyz(30.9172, 18.9801, 77.6205)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A54E7 #A1E754
analogous
#5458E7 #9A54E7 #E354E7
triadic
#9A54E7 #E79A54 #54E79A
tetradic
#9A54E7 #E75458 #A1E754 #54E7E3
square
#9A54E7 #E75458 #A1E754 #54E7E3
split-complementary
#9A54E7 #E7E354 #58E754
monochromatic
#5D18A9 #7A1FDF #9A54E7 #BA8AEF #D9BFF6

Accessibility & contrast

On white

4.38
#9A54E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9A54E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A54E7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A54E7#FFFFFF#000000##000000
##9A54E71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#1E78E4
Tritanopia (blue-blind)
#8A7496
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9a54e7;
/* rgb */ color: rgb(154, 84, 231);
/* oklch */ color: oklch(59.9% 0.214 302.2);
Tailwind
colors: {
  custom: {
    50: '#bd88ef',
    500: '#9a54e7',
    950: '#000000',
  },
}
SCSS
$custom: #9a54e7;
$custom-light: #bd88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9a54e7",
  "rgb": {
    "r": 154,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 268.571,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.21393,
    "h": 302.2
  },
  "luminance": 0.1898
}

Semantic roles & 50–950 ramp

primary
#9A54E7
secondary
#CDE7B0
accent
#D80E78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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