#8054CD#8054CD

#8054CD is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.180 H 296.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8054CD
RGBrgb(128, 84, 205)
HSLhsl(262, 55%, 57%)
HSVhsv(262, 59%, 80%)
CMYKcmyk(37.6%, 59%, 0%, 19.6%)
CIE-LABlab(46.09, 44.34, -56.45)
CIE-LCHlch(46.09, 71.78, 308.15°)
OKLaboklab(55.41% 0.0813 -0.1604)
OKLCHoklch(55.41% 0.18 296.9)
XYZxyz(23.0890, 15.3372, 59.4897)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8054CD #A1CD54
analogous
#5465CD #8054CD #BD54CD
triadic
#8054CD #CD8054 #54CD80
tetradic
#8054CD #CD5465 #A1CD54 #54CDBD
square
#8054CD #CD5465 #A1CD54 #54CDBD
split-complementary
#8054CD #CDBD54 #65CD54
monochromatic
#472681 #6134B0 #8054CD #A383DB #C6B3E9

Accessibility & contrast

On white

5.16
#8054CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8054CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8054CD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8054CD#FFFFFF#000000##FFFFFF
##8054CD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046ED1
Deuteranopia (green-blind)
#236CCA
Tritanopia (blue-blind)
#6E6E88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8054cd;
/* rgb */ color: rgb(128, 84, 205);
/* oklch */ color: oklch(55.4% 0.180 296.9);
Tailwind
colors: {
  custom: {
    50: '#aa86dd',
    500: '#8054cd',
    950: '#000000',
  },
}
SCSS
$custom: #8054cd;
$custom-light: #aa86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8054cd",
  "rgb": {
    "r": 128,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 261.818,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.17985,
    "h": 296.9
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#8054CD
secondary
#C5D7A6
accent
#DE4AA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8054CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8054CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva