#8041CF#8041CF

#8041CF is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.207 H 299.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8041CF
RGBrgb(128, 65, 207)
HSLhsl(267, 60%, 53%)
HSVhsv(267, 69%, 81%)
CMYKcmyk(38.2%, 68.6%, 0%, 18.8%)
CIE-LABlab(42.57, 54.77, -63.29)
CIE-LCHlch(42.57, 83.70, 310.87°)
OKLaboklab(52.91% 0.1022 -0.1805)
OKLCHoklch(52.91% 0.207 299.5)
XYZxyz(22.0521, 12.8745, 60.3426)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041CF #90CF41
analogous
#4149CF #8041CF #C741CF
triadic
#8041CF #CF8041 #41CF80
tetradic
#8041CF #CF4149 #90CF41 #41CFC7
square
#8041CF #CF4149 #90CF41 #41CFC7
split-complementary
#8041CF #CFC741 #49CF41
monochromatic
#461E77 #622BA8 #8041CF #A172DB #C1A3E8

Accessibility & contrast

On white

5.87
#8041CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8041CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041CF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041CF#FFFFFF#000000##FFFFFF
##8041CF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#6E6383
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8041cf;
/* rgb */ color: rgb(128, 65, 207);
/* oklch */ color: oklch(52.9% 0.207 299.5);
Tailwind
colors: {
  custom: {
    50: '#ab7adf',
    500: '#8041cf',
    950: '#000000',
  },
}
SCSS
$custom: #8041cf;
$custom-light: #ab7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8041cf",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 266.62,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.20743,
    "h": 299.5
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#8041CF
secondary
#B9D497
accent
#E3459D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8041CF

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

Preview Lab → · Contrast checker → · Palette generator →

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