#8051C8#8051C8

#8051C8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.178 H 298.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8051C8
RGBrgb(128, 81, 200)
HSLhsl(264, 52%, 55%)
HSVhsv(264, 60%, 78%)
CMYKcmyk(36%, 59.5%, 0%, 21.6%)
CIE-LABlab(45.14, 44.69, -55.09)
CIE-LCHlch(45.14, 70.94, 309.05°)
OKLaboklab(54.61% 0.085 -0.1564)
OKLCHoklch(54.61% 0.178 298.5)
XYZxyz(22.2673, 14.6439, 56.2858)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051C8 #99C851
analogous
#515EC8 #8051C8 #BB51C8
triadic
#8051C8 #C88051 #51C880
tetradic
#8051C8 #C8515E #99C851 #51C8BB
square
#8051C8 #C8515E #99C851 #51C8BB
split-complementary
#8051C8 #C8BB51 #5EC851
monochromatic
#472679 #6235A7 #8051C8 #A280D7 #C4AEE5

Accessibility & contrast

On white

5.35
#8051C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8051C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051C8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051C8#FFFFFF#000000##FFFFFF
##8051C81.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046BCC
Deuteranopia (green-blind)
#256AC5
Tritanopia (blue-blind)
#706A85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8051c8;
/* rgb */ color: rgb(128, 81, 200);
/* oklch */ color: oklch(54.6% 0.178 298.5);
Tailwind
colors: {
  custom: {
    50: '#a984d9',
    500: '#8051c8',
    950: '#000000',
  },
}
SCSS
$custom: #8051c8;
$custom-light: #a984d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8051c8",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 263.697,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54612,
    "c": 0.17805,
    "h": 298.5
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#8051C8
secondary
#C0D3A1
accent
#DB4CA3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8051C8

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

Preview Lab → · Contrast checker → · Palette generator →

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