#8051CA#8051CA

#8051CA is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.180 H 298.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8051CA
RGBrgb(128, 81, 202)
HSLhsl(263, 53%, 55%)
HSVhsv(263, 60%, 79%)
CMYKcmyk(36.6%, 59.9%, 0%, 20.8%)
CIE-LABlab(45.27, 45.21, -56.04)
CIE-LCHlch(45.27, 72.00, 308.89°)
OKLaboklab(54.75% 0.085 -0.1592)
OKLCHoklch(54.75% 0.18 298.1)
XYZxyz(22.5025, 14.7380, 57.5248)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051CA #9BCA51
analogous
#515ECA #8051CA #BD51CA
triadic
#8051CA #CA8051 #51CA80
tetradic
#8051CA #CA515E #9BCA51 #51CABD
square
#8051CA #CA515E #9BCA51 #51CABD
split-complementary
#8051CA #CABD51 #5ECA51
monochromatic
#47257B #6234AA #8051CA #A280D8 #C4AFE7

Accessibility & contrast

On white

5.32
#8051CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8051CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051CA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051CA#FFFFFF#000000##FFFFFF
##8051CA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#216AC7
Tritanopia (blue-blind)
#6F6B86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8051ca;
/* rgb */ color: rgb(128, 81, 202);
/* oklch */ color: oklch(54.7% 0.180 298.1);
Tailwind
colors: {
  custom: {
    50: '#a984db',
    500: '#8051ca',
    950: '#000000',
  },
}
SCSS
$custom: #8051ca;
$custom-light: #a984db;
$custom-dark: #000000;
JSON
{
  "hex": "#8051ca",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 263.306,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54749,
    "c": 0.18047,
    "h": 298.1
  },
  "luminance": 0.14738
}

Semantic roles & 50–950 ramp

primary
#8051CA
secondary
#C1D5A2
accent
#DD4BA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8051CA

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

Preview Lab → · Contrast checker → · Palette generator →

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