#8A54CA#8A54CA

#8A54CA is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.2% C 0.178 H 302.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A54CA
RGBrgb(138, 84, 202)
HSLhsl(267, 53%, 56%)
HSVhsv(267, 58%, 79%)
CMYKcmyk(31.7%, 58.4%, 0%, 20.8%)
CIE-LABlab(46.99, 45.90, -53.23)
CIE-LCHlch(46.99, 70.28, 310.77°)
OKLaboklab(56.25% 0.0945 -0.1506)
OKLCHoklch(56.25% 0.178 302.1)
XYZxyz(24.3098, 16.0081, 57.6748)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54CA #94CA54
analogous
#5459CA #8A54CA #C554CA
triadic
#8A54CA #CA8A54 #54CA8A
tetradic
#8A54CA #CA5459 #94CA54 #54CAC5
square
#8A54CA #CA5459 #94CA54 #54CAC5
split-complementary
#8A54CA #CAC554 #59CA54
monochromatic
#4E277D #6B35AC #8A54CA #AA83D8 #CAB1E7

Accessibility & contrast

On white

5.00
#8A54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8A54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A54CA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54CA#FFFFFF#000000##FFFFFF
##8A54CA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECE
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#7D6C87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a54ca;
/* rgb */ color: rgb(138, 84, 202);
/* oklch */ color: oklch(56.2% 0.178 302.1);
Tailwind
colors: {
  custom: {
    50: '#b086db',
    500: '#8a54ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a54ca;
$custom-light: #b086db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54ca",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 267.458,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56249,
    "c": 0.17782,
    "h": 302.1
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#8A54CA
secondary
#BFD5A5
accent
#DC4C9A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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