#8045C8#8045C8

#8045C8 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.195 H 300.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8045C8
RGBrgb(128, 69, 200)
HSLhsl(267, 54%, 53%)
HSVhsv(267, 66%, 78%)
CMYKcmyk(36%, 65.5%, 0%, 21.6%)
CIE-LABlab(42.79, 51.04, -58.90)
CIE-LCHlch(42.79, 77.94, 310.91°)
OKLaboklab(52.9% 0.0989 -0.1676)
OKLCHoklch(52.9% 0.195 300.5)
XYZxyz(21.4530, 13.0154, 56.0144)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045C8 #8DC845
analogous
#454BC8 #8045C8 #C245C8
triadic
#8045C8 #C88045 #45C880
tetradic
#8045C8 #C8454B #8DC845 #45C8C2
square
#8045C8 #C8454B #8DC845 #45C8C2
split-complementary
#8045C8 #C8C245 #4BC845
monochromatic
#452171 #622FA0 #8045C8 #A074D6 #C1A3E4

Accessibility & contrast

On white

5.83
#8045C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8045C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045C8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045C8#FFFFFF#000000##FFFFFF
##8045C81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#706381
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8045c8;
/* rgb */ color: rgb(128, 69, 200);
/* oklch */ color: oklch(52.9% 0.195 300.5);
Tailwind
colors: {
  custom: {
    50: '#aa7cd9',
    500: '#8045c8',
    950: '#000000',
  },
}
SCSS
$custom: #8045c8;
$custom-light: #aa7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8045c8",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 267.023,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.19459,
    "h": 300.5
  },
  "luminance": 0.13016
}

Semantic roles & 50–950 ramp

primary
#8045C8
secondary
#B7D198
accent
#DE4A9B
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8045C8

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

Preview Lab → · Contrast checker → · Palette generator →

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