#8041CC#8041CC

#8041CC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.204 H 300.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8041CC
RGBrgb(128, 65, 204)
HSLhsl(267, 58%, 53%)
HSVhsv(267, 68%, 80%)
CMYKcmyk(37.3%, 68.1%, 0%, 20%)
CIE-LABlab(42.35, 54.02, -61.92)
CIE-LCHlch(42.35, 82.17, 311.10°)
OKLaboklab(52.68% 0.1027 -0.1764)
OKLCHoklch(52.68% 0.204 300.2)
XYZxyz(21.6888, 12.7292, 58.4294)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041CC #8DCC41
analogous
#4148CC #8041CC #C541CC
triadic
#8041CC #CC8041 #41CC80
tetradic
#8041CC #CC4148 #8DCC41 #41CCC5
square
#8041CC #CC4148 #8DCC41 #41CCC5
split-complementary
#8041CC #CCC541 #48CC41
monochromatic
#451F74 #622CA4 #8041CC #A071D9 #C1A1E6

Accessibility & contrast

On white

5.92
#8041CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8041CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041CC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041CC#FFFFFF#000000##FFFFFF
##8041CC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#6F6281
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8041cc;
/* rgb */ color: rgb(128, 65, 204);
/* oklch */ color: oklch(52.7% 0.204 300.2);
Tailwind
colors: {
  custom: {
    50: '#ab7adc',
    500: '#8041cc',
    950: '#000000',
  },
}
SCSS
$custom: #8041cc;
$custom-light: #ab7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8041cc",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 267.194,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.20414,
    "h": 300.2
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#8041CC
secondary
#B7D396
accent
#E1479B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8041CC

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

Preview Lab → · Contrast checker → · Palette generator →

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