#8045D2#8045D2

#8045D2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.206 H 298.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8045D2
RGBrgb(128, 69, 210)
HSLhsl(265, 61%, 55%)
HSVhsv(265, 67%, 82%)
CMYKcmyk(39%, 67.1%, 0%, 17.6%)
CIE-LABlab(43.50, 53.55, -63.51)
CIE-LCHlch(43.50, 83.07, 310.14°)
OKLaboklab(53.65% 0.0977 -0.1811)
OKLCHoklch(53.65% 0.206 298.3)
XYZxyz(22.6601, 13.4983, 62.3718)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045D2 #97D245
analogous
#4551D2 #8045D2 #C645D2
triadic
#8045D2 #D28045 #45D280
tetradic
#8045D2 #D24551 #97D245 #45D2C6
square
#8045D2 #D24551 #97D245 #45D2C6
split-complementary
#8045D2 #D2C645 #51D245
monochromatic
#471F7E #622AAF #8045D2 #A276DE #C3A8EA

Accessibility & contrast

On white

5.68
#8045D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8045D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045D2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045D2#FFFFFF#000000##FFFFFF
##8045D21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#6C6686
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8045d2;
/* rgb */ color: rgb(128, 69, 210);
/* oklch */ color: oklch(53.6% 0.206 298.3);
Tailwind
colors: {
  custom: {
    50: '#ab7de1',
    500: '#8045d2',
    950: '#000000',
  },
}
SCSS
$custom: #8045d2;
$custom-light: #ab7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8045d2",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 265.106,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53645,
    "c": 0.2058,
    "h": 298.3
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#8045D2
secondary
#BED79C
accent
#E444A1
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8045D2

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

Preview Lab → · Contrast checker → · Palette generator →

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