#8045D4#8045D4

#8045D4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.208 H 297.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8045D4
RGBrgb(128, 69, 212)
HSLhsl(265, 62%, 55%)
HSVhsv(265, 67%, 83%)
CMYKcmyk(39.6%, 67.5%, 0%, 16.9%)
CIE-LABlab(43.65, 54.06, -64.42)
CIE-LCHlch(43.65, 84.09, 310.00°)
OKLaboklab(53.8% 0.0974 -0.1838)
OKLCHoklch(53.8% 0.208 297.9)
XYZxyz(22.9108, 13.5985, 63.6923)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045D4 #99D445
analogous
#4552D4 #8045D4 #C745D4
triadic
#8045D4 #D48045 #45D480
tetradic
#8045D4 #D44552 #99D445 #45D4C7
square
#8045D4 #D44552 #99D445 #45D4C7
split-complementary
#8045D4 #D4C745 #52D445
monochromatic
#471E81 #6229B3 #8045D4 #A277DF #C4A8EB

Accessibility & contrast

On white

5.65
#8045D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8045D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045D4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045D4#FFFFFF#000000##FFFFFF
##8045D41.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#6C6787
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8045d4;
/* rgb */ color: rgb(128, 69, 212);
/* oklch */ color: oklch(53.8% 0.208 297.9);
Tailwind
colors: {
  custom: {
    50: '#ab7de2',
    500: '#8045d4',
    950: '#000000',
  },
}
SCSS
$custom: #8045d4;
$custom-light: #ab7de2;
$custom-dark: #000000;
JSON
{
  "hex": "#8045d4",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 264.755,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.20803,
    "h": 297.9
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#8045D4
secondary
#C0D89C
accent
#E642A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8045D4

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

Preview Lab → · Contrast checker → · Palette generator →

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