#8045D6#8045D6

#8045D6 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.210 H 297.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8045D6
RGBrgb(128, 69, 214)
HSLhsl(264, 64%, 55%)
HSVhsv(264, 68%, 84%)
CMYKcmyk(40.2%, 67.8%, 0%, 16.1%)
CIE-LABlab(43.80, 54.56, -65.32)
CIE-LCHlch(43.80, 85.11, 309.87°)
OKLaboklab(53.95% 0.0971 -0.1865)
OKLCHoklch(53.95% 0.21 297.5)
XYZxyz(23.1647, 13.7001, 65.0292)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045D6 #9BD645
analogous
#4552D6 #8045D6 #C945D6
triadic
#8045D6 #D68045 #45D680
tetradic
#8045D6 #D64552 #9BD645 #45D6C9
square
#8045D6 #D64552 #9BD645 #45D6C9
split-complementary
#8045D6 #D6C945 #52D645
monochromatic
#471D84 #6228B6 #8045D6 #A277E1 #C4A9EC

Accessibility & contrast

On white

5.61
#8045D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8045D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045D6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045D6#FFFFFF#000000##FFFFFF
##8045D61.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#6B6888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8045d6;
/* rgb */ color: rgb(128, 69, 214);
/* oklch */ color: oklch(53.9% 0.210 297.5);
Tailwind
colors: {
  custom: {
    50: '#ab7de4',
    500: '#8045d6',
    950: '#000000',
  },
}
SCSS
$custom: #8045d6;
$custom-light: #ab7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8045d6",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 264.414,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.21025,
    "h": 297.5
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#8045D6
secondary
#C1DA9D
accent
#E741A3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8045D6

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

Preview Lab → · Contrast checker → · Palette generator →

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