#8054CB#8054CB

#8054CB is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.177 H 297.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8054CB
RGBrgb(128, 84, 203)
HSLhsl(262, 53%, 56%)
HSVhsv(262, 59%, 80%)
CMYKcmyk(36.9%, 58.6%, 0%, 20.4%)
CIE-LABlab(45.96, 43.81, -55.50)
CIE-LCHlch(45.96, 70.71, 308.29°)
OKLaboklab(55.27% 0.0814 -0.1576)
OKLCHoklch(55.27% 0.177 297.3)
XYZxyz(22.8492, 15.2413, 58.2264)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8054CB #9FCB54
analogous
#5464CB #8054CB #BC54CB
triadic
#8054CB #CB8054 #54CB80
tetradic
#8054CB #CB5464 #9FCB54 #54CBBC
square
#8054CB #CB5464 #9FCB54 #54CBBC
split-complementary
#8054CB #CBBC54 #64CB54
monochromatic
#47267E #6135AD #8054CB #A383D9 #C6B2E8

Accessibility & contrast

On white

5.19
#8054CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8054CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8054CB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8054CB#FFFFFF#000000##FFFFFF
##8054CB1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#6F6D87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8054cb;
/* rgb */ color: rgb(128, 84, 203);
/* oklch */ color: oklch(55.3% 0.177 297.3);
Tailwind
colors: {
  custom: {
    50: '#a986db',
    500: '#8054cb',
    950: '#000000',
  },
}
SCSS
$custom: #8054cb;
$custom-light: #a986db;
$custom-dark: #000000;
JSON
{
  "hex": "#8054cb",
  "rgb": {
    "r": 128,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 262.185,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.1774,
    "h": 297.3
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#8054CB
secondary
#C4D6A5
accent
#DD4BA7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8054CB

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

Preview Lab → · Contrast checker → · Palette generator →

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