#8051CD#8051CD

#8051CD is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.184 H 297.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8051CD
RGBrgb(128, 81, 205)
HSLhsl(263, 55%, 56%)
HSVhsv(263, 60%, 80%)
CMYKcmyk(37.6%, 60.5%, 0%, 19.6%)
CIE-LABlab(45.47, 45.99, -57.45)
CIE-LCHlch(45.47, 73.59, 308.68°)
OKLaboklab(54.96% 0.0849 -0.1633)
OKLCHoklch(54.96% 0.184 297.5)
XYZxyz(22.8612, 14.8815, 59.4137)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051CD #9ECD51
analogous
#5160CD #8051CD #BE51CD
triadic
#8051CD #CD8051 #51CD80
tetradic
#8051CD #CD5160 #9ECD51 #51CDBE
square
#8051CD #CD5160 #9ECD51 #51CDBE
split-complementary
#8051CD #CDBE51 #60CD51
monochromatic
#47257F #6132AF #8051CD #A381DB #C5B0E8

Accessibility & contrast

On white

5.28
#8051CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8051CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051CD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051CD#FFFFFF#000000##FFFFFF
##8051CD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#1B6ACA
Tritanopia (blue-blind)
#6E6C87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8051cd;
/* rgb */ color: rgb(128, 81, 205);
/* oklch */ color: oklch(55.0% 0.184 297.5);
Tailwind
colors: {
  custom: {
    50: '#aa84dd',
    500: '#8051cd',
    950: '#000000',
  },
}
SCSS
$custom: #8051cd;
$custom-light: #aa84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8051cd",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 262.742,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.18408,
    "h": 297.5
  },
  "luminance": 0.14882
}

Semantic roles & 50–950 ramp

primary
#8051CD
secondary
#C3D7A3
accent
#DF49A6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8051CD

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

Preview Lab → · Contrast checker → · Palette generator →

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