#8045D3#8045D3

#8045D3 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.207 H 298.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8045D3
RGBrgb(128, 69, 211)
HSLhsl(265, 62%, 55%)
HSVhsv(265, 67%, 83%)
CMYKcmyk(39.3%, 67.3%, 0%, 17.3%)
CIE-LABlab(43.58, 53.80, -63.96)
CIE-LCHlch(43.58, 83.58, 310.07°)
OKLaboklab(53.72% 0.0975 -0.1825)
OKLCHoklch(53.72% 0.207 298.1)
XYZxyz(22.7851, 13.5482, 63.0300)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045D3 #98D345
analogous
#4551D3 #8045D3 #C745D3
triadic
#8045D3 #D38045 #45D380
tetradic
#8045D3 #D34551 #98D345 #45D3C7
square
#8045D3 #D34551 #98D345 #45D3C7
split-complementary
#8045D3 #D3C745 #51D345
monochromatic
#471E7F #622AB1 #8045D3 #A276DF #C4A8EA

Accessibility & contrast

On white

5.66
#8045D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8045D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045D3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045D3#FFFFFF#000000##FFFFFF
##8045D31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#6C6786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8045d3;
/* rgb */ color: rgb(128, 69, 211);
/* oklch */ color: oklch(53.7% 0.207 298.1);
Tailwind
colors: {
  custom: {
    50: '#ab7de1',
    500: '#8045d3',
    950: '#000000',
  },
}
SCSS
$custom: #8045d3;
$custom-light: #ab7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8045d3",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 264.93,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53721,
    "c": 0.20691,
    "h": 298.1
  },
  "luminance": 0.13549
}

Semantic roles & 50–950 ramp

primary
#8045D3
secondary
#BFD89C
accent
#E543A2
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8045D3

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

Preview Lab → · Contrast checker → · Palette generator →

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