#9A54CA#9A54CA

#9A54CA is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.182 H 309.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9A54CA
RGBrgb(154, 84, 202)
HSLhsl(276, 53%, 56%)
HSVhsv(276, 58%, 79%)
CMYKcmyk(23.8%, 58.4%, 0%, 20.8%)
CIE-LABlab(48.85, 49.77, -50.13)
CIE-LCHlch(48.85, 70.64, 314.79°)
OKLaboklab(58.03% 0.1151 -0.1411)
OKLCHoklch(58.03% 0.182 309.2)
XYZxyz(27.1553, 17.4754, 57.8082)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A54CA #84CA54
analogous
#5F54CA #9A54CA #CA54BF
triadic
#9A54CA #CA9A54 #54CA9A
tetradic
#9A54CA #CA5F54 #84CA54 #54BFCA
square
#9A54CA #CA5F54 #84CA54 #54BFCA
split-complementary
#9A54CA #BFCA54 #54CA5F
monochromatic
#5A277D #7B35AC #9A54CA #B683D8 #D1B1E7

Accessibility & contrast

On white

4.67
#9A54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9A54CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A54CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A54CA#FFFFFF#000000##FFFFFF
##9A54CA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#936A87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a54ca;
/* rgb */ color: rgb(154, 84, 202);
/* oklch */ color: oklch(58.0% 0.182 309.2);
Tailwind
colors: {
  custom: {
    50: '#bb87db',
    500: '#9a54ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a54ca;
$custom-light: #bb87db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a54ca",
  "rgb": {
    "r": 154,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 275.593,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.18207,
    "h": 309.2
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#9A54CA
secondary
#B8D5A5
accent
#DC4C86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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