#8041CB#8041CB

#8041CB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.203 H 300.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8041CB
RGBrgb(128, 65, 203)
HSLhsl(267, 57%, 53%)
HSVhsv(267, 68%, 80%)
CMYKcmyk(36.9%, 68%, 0%, 20.4%)
CIE-LABlab(42.28, 53.77, -61.46)
CIE-LCHlch(42.28, 81.66, 311.19°)
OKLaboklab(52.61% 0.1028 -0.1751)
OKLCHoklch(52.61% 0.203 300.4)
XYZxyz(21.5692, 12.6814, 57.7997)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041CB #8CCB41
analogous
#4147CB #8041CB #C541CB
triadic
#8041CB #CB8041 #41CB80
tetradic
#8041CB #CB4147 #8CCB41 #41CBC5
square
#8041CB #CB4147 #8CCB41 #41CBC5
split-complementary
#8041CB #CBC541 #47CB41
monochromatic
#451F72 #622CA2 #8041CB #A071D8 #C0A1E5

Accessibility & contrast

On white

5.94
#8041CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8041CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041CB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041CB#FFFFFF#000000##FFFFFF
##8041CB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#6F6181
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8041cb;
/* rgb */ color: rgb(128, 65, 203);
/* oklch */ color: oklch(52.6% 0.203 300.4);
Tailwind
colors: {
  custom: {
    50: '#aa7adc',
    500: '#8041cb',
    950: '#000000',
  },
}
SCSS
$custom: #8041cb;
$custom-light: #aa7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8041cb",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 267.391,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.20305,
    "h": 300.4
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#8041CB
secondary
#B7D296
accent
#E0489B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8041CB

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

Preview Lab → · Contrast checker → · Palette generator →

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