#8045D1#8045D1

#8045D1 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.205 H 298.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8045D1
RGBrgb(128, 69, 209)
HSLhsl(265, 60%, 55%)
HSVhsv(265, 67%, 82%)
CMYKcmyk(38.8%, 67%, 0%, 18%)
CIE-LABlab(43.43, 53.30, -63.05)
CIE-LCHlch(43.43, 82.56, 310.21°)
OKLaboklab(53.57% 0.0978 -0.1798)
OKLCHoklch(53.57% 0.205 298.5)
XYZxyz(22.5359, 13.4486, 61.7178)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045D1 #96D145
analogous
#4550D1 #8045D1 #C645D1
triadic
#8045D1 #D18045 #45D180
tetradic
#8045D1 #D14550 #96D145 #45D1C6
square
#8045D1 #D14550 #96D145 #45D1C6
split-complementary
#8045D1 #D1C645 #50D145
monochromatic
#461F7D #622BAE #8045D1 #A276DD #C3A7E9

Accessibility & contrast

On white

5.69
#8045D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8045D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045D1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045D1#FFFFFF#000000##FFFFFF
##8045D11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#6D6685
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8045d1;
/* rgb */ color: rgb(128, 69, 209);
/* oklch */ color: oklch(53.6% 0.205 298.5);
Tailwind
colors: {
  custom: {
    50: '#ab7de0',
    500: '#8045d1',
    950: '#000000',
  },
}
SCSS
$custom: #8045d1;
$custom-light: #ab7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#8045d1",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 265.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.20467,
    "h": 298.5
  },
  "luminance": 0.13449
}

Semantic roles & 50–950 ramp

primary
#8045D1
secondary
#BED79B
accent
#E344A0
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8045D1

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

Preview Lab → · Contrast checker → · Palette generator →

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