#8045CF#8045CF

#8045CF is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.202 H 299.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8045CF
RGBrgb(128, 69, 207)
HSLhsl(266, 59%, 54%)
HSVhsv(266, 67%, 81%)
CMYKcmyk(38.2%, 66.7%, 0%, 18.8%)
CIE-LABlab(43.29, 52.79, -62.13)
CIE-LCHlch(43.29, 81.53, 310.35°)
OKLaboklab(53.42% 0.0981 -0.1771)
OKLCHoklch(53.42% 0.202 299)
XYZxyz(22.2899, 13.3502, 60.4219)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045CF #94CF45
analogous
#454FCF #8045CF #C545CF
triadic
#8045CF #CF8045 #45CF80
tetradic
#8045CF #CF454F #94CF45 #45CFC5
square
#8045CF #CF454F #94CF45 #45CFC5
split-complementary
#8045CF #CFC545 #4FCF45
monochromatic
#46207A #622CAB #8045CF #A176DC #C2A6E8

Accessibility & contrast

On white

5.72
#8045CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8045CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045CF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045CF#FFFFFF#000000##FFFFFF
##8045CF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#6E6584
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8045cf;
/* rgb */ color: rgb(128, 69, 207);
/* oklch */ color: oklch(53.4% 0.202 299.0);
Tailwind
colors: {
  custom: {
    50: '#ab7ddf',
    500: '#8045cf',
    950: '#000000',
  },
}
SCSS
$custom: #8045cf;
$custom-light: #ab7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#8045cf",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 265.652,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.20244,
    "h": 299
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#8045CF
secondary
#BCD59B
accent
#E2469F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8045CF

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

Preview Lab → · Contrast checker → · Palette generator →

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