#9A54E4#9A54E4

#9A54E4 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.211 H 302.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9A54E4
RGBrgb(154, 84, 228)
HSLhsl(269, 73%, 61%)
HSVhsv(269, 63%, 89%)
CMYKcmyk(32.5%, 63.2%, 0%, 10.6%)
CIE-LABlab(50.47, 55.81, -62.35)
CIE-LCHlch(50.47, 83.68, 311.83°)
OKLaboklab(59.72% 0.1143 -0.1769)
OKLCHoklch(59.72% 0.211 302.9)
XYZxyz(30.4971, 18.8121, 75.4082)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A54E4 #9EE454
analogous
#5456E4 #9A54E4 #E254E4
triadic
#9A54E4 #E49A54 #54E49A
tetradic
#9A54E4 #E45456 #9EE454 #54E4E2
square
#9A54E4 #E45456 #9EE454 #54E4E2
split-complementary
#9A54E4 #E4E254 #56E454
monochromatic
#5D1AA4 #7B22D9 #9A54E4 #B989EC #D8BEF5

Accessibility & contrast

On white

4.41
#9A54E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9A54E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A54E4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A54E4#FFFFFF#000000##000000
##9A54E41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#2578E1
Tritanopia (blue-blind)
#8B7395
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9a54e4;
/* rgb */ color: rgb(154, 84, 228);
/* oklch */ color: oklch(59.7% 0.211 302.9);
Tailwind
colors: {
  custom: {
    50: '#bc88ed',
    500: '#9a54e4',
    950: '#000000',
  },
}
SCSS
$custom: #9a54e4;
$custom-light: #bc88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9a54e4",
  "rgb": {
    "r": 154,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 269.167,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59718,
    "c": 0.21065,
    "h": 302.9
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#9A54E4
secondary
#CBE5AF
accent
#D51175
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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