#8045CD#8045CD

#8045CD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.200 H 299.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8045CD
RGBrgb(128, 69, 205)
HSLhsl(266, 58%, 54%)
HSVhsv(266, 66%, 80%)
CMYKcmyk(37.6%, 66.3%, 0%, 19.6%)
CIE-LABlab(43.14, 52.29, -61.21)
CIE-LCHlch(43.14, 80.51, 310.50°)
OKLaboklab(53.27% 0.0983 -0.1744)
OKLCHoklch(53.27% 0.2 299.4)
XYZxyz(22.0469, 13.2530, 59.1423)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045CD #92CD45
analogous
#454ECD #8045CD #C445CD
triadic
#8045CD #CD8045 #45CD80
tetradic
#8045CD #CD454E #92CD45 #45CDC4
square
#8045CD #CD454E #92CD45 #45CDC4
split-complementary
#8045CD #CDC445 #4ECD45
monochromatic
#462077 #622DA8 #8045CD #A175DA #C2A5E7

Accessibility & contrast

On white

5.75
#8045CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8045CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045CD#FFFFFF#000000##FFFFFF
##8045CD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#6E6483
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8045cd;
/* rgb */ color: rgb(128, 69, 205);
/* oklch */ color: oklch(53.3% 0.200 299.4);
Tailwind
colors: {
  custom: {
    50: '#aa7cdd',
    500: '#8045cd',
    950: '#000000',
  },
}
SCSS
$custom: #8045cd;
$custom-light: #aa7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8045cd",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 266.029,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.20021,
    "h": 299.4
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#8045CD
secondary
#BBD49A
accent
#E1479E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8045CD

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

Preview Lab → · Contrast checker → · Palette generator →

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