#8B54CA#8B54CA

#8B54CA is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.178 H 302.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8B54CA
RGBrgb(139, 84, 202)
HSLhsl(268, 53%, 56%)
HSVhsv(268, 58%, 79%)
CMYKcmyk(31.2%, 58.4%, 0%, 20.8%)
CIE-LABlab(47.10, 46.13, -53.04)
CIE-LCHlch(47.10, 70.30, 311.02°)
OKLaboklab(56.36% 0.0958 -0.1501)
OKLCHoklch(56.36% 0.178 302.6)
XYZxyz(24.4760, 16.0939, 57.6826)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54CA #93CA54
analogous
#5458CA #8B54CA #C654CA
triadic
#8B54CA #CA8B54 #54CA8B
tetradic
#8B54CA #CA5458 #93CA54 #54CAC6
square
#8B54CA #CA5458 #93CA54 #54CAC6
split-complementary
#8B54CA #CAC654 #58CA54
monochromatic
#4F277D #6C35AC #8B54CA #AB83D8 #CAB1E7

Accessibility & contrast

On white

4.98
#8B54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8B54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54CA#FFFFFF#000000##FFFFFF
##8B54CA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#7F6C87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b54ca;
/* rgb */ color: rgb(139, 84, 202);
/* oklch */ color: oklch(56.4% 0.178 302.6);
Tailwind
colors: {
  custom: {
    50: '#b186db',
    500: '#8b54ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b54ca;
$custom-light: #b186db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54ca",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 267.966,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.17803,
    "h": 302.6
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#8B54CA
secondary
#BFD5A5
accent
#DC4C99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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