#8041CD#8041CD

#8041CD is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.205 H 300.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8041CD
RGBrgb(128, 65, 205)
HSLhsl(267, 58%, 53%)
HSVhsv(267, 68%, 80%)
CMYKcmyk(37.6%, 68.3%, 0%, 19.6%)
CIE-LABlab(42.43, 54.27, -62.38)
CIE-LCHlch(42.43, 82.68, 311.02°)
OKLaboklab(52.76% 0.1025 -0.1778)
OKLCHoklch(52.76% 0.205 300)
XYZxyz(21.8091, 12.7774, 59.0630)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041CD #8ECD41
analogous
#4148CD #8041CD #C641CD
triadic
#8041CD #CD8041 #41CD80
tetradic
#8041CD #CD4148 #8ECD41 #41CDC6
square
#8041CD #CD4148 #8ECD41 #41CDC6
split-complementary
#8041CD #CDC641 #48CD41
monochromatic
#451F75 #622CA5 #8041CD #A071DA #C1A2E6

Accessibility & contrast

On white

5.91
#8041CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8041CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041CD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041CD#FFFFFF#000000##FFFFFF
##8041CD1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#6F6282
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8041cd;
/* rgb */ color: rgb(128, 65, 205);
/* oklch */ color: oklch(52.8% 0.205 300.0);
Tailwind
colors: {
  custom: {
    50: '#ab7add',
    500: '#8041cd',
    950: '#000000',
  },
}
SCSS
$custom: #8041cd;
$custom-light: #ab7add;
$custom-dark: #000000;
JSON
{
  "hex": "#8041cd",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 267,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.20523,
    "h": 300
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#8041CD
secondary
#B8D397
accent
#E2469C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8041CD

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

Preview Lab → · Contrast checker → · Palette generator →

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