#8041CA#8041CA

#8041CA is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.202 H 300.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8041CA
RGBrgb(128, 65, 202)
HSLhsl(268, 56%, 52%)
HSVhsv(268, 68%, 79%)
CMYKcmyk(36.6%, 67.8%, 0%, 20.8%)
CIE-LABlab(42.21, 53.53, -61.00)
CIE-LCHlch(42.21, 81.15, 311.27°)
OKLaboklab(52.53% 0.1029 -0.1737)
OKLCHoklch(52.53% 0.202 300.6)
XYZxyz(21.4505, 12.6339, 57.1741)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041CA #8BCA41
analogous
#4147CA #8041CA #C441CA
triadic
#8041CA #CA8041 #41CA80
tetradic
#8041CA #CA4147 #8BCA41 #41CAC4
square
#8041CA #CA4147 #8BCA41 #41CAC4
split-complementary
#8041CA #CAC441 #47CA41
monochromatic
#452071 #622DA1 #8041CA #A071D7 #C0A1E5

Accessibility & contrast

On white

5.95
#8041CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8041CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041CA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041CA#FFFFFF#000000##FFFFFF
##8041CA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#706180
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8041ca;
/* rgb */ color: rgb(128, 65, 202);
/* oklch */ color: oklch(52.5% 0.202 300.6);
Tailwind
colors: {
  custom: {
    50: '#aa7adb',
    500: '#8041ca',
    950: '#000000',
  },
}
SCSS
$custom: #8041ca;
$custom-light: #aa7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8041ca",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 267.591,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.20195,
    "h": 300.6
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#8041CA
secondary
#B6D196
accent
#E0489A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8041CA

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

Preview Lab → · Contrast checker → · Palette generator →

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