#8041C9#8041C9

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

Color values

HEX#8041C9
RGBrgb(128, 65, 201)
HSLhsl(268, 56%, 52%)
HSVhsv(268, 68%, 79%)
CMYKcmyk(36.3%, 67.7%, 0%, 21.2%)
CIE-LABlab(42.13, 53.28, -60.54)
CIE-LCHlch(42.13, 80.64, 311.35°)
OKLaboklab(52.46% 0.1031 -0.1724)
OKLCHoklch(52.46% 0.201 300.9)
XYZxyz(21.3324, 12.5867, 56.5526)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041C9 #8AC941
analogous
#4146C9 #8041C9 #C441C9
triadic
#8041C9 #C98041 #41C980
tetradic
#8041C9 #C94146 #8AC941 #41C9C4
square
#8041C9 #C94146 #8AC941 #41C9C4
split-complementary
#8041C9 #C9C441 #46C941
monochromatic
#452070 #622D9F #8041C9 #A071D7 #C0A0E4

Accessibility & contrast

On white

5.97
#8041C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8041C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041C9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041C9#FFFFFF#000000##FFFFFF
##8041C91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#706180
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8041c9;
/* rgb */ color: rgb(128, 65, 201);
/* oklch */ color: oklch(52.5% 0.201 300.9);
Tailwind
colors: {
  custom: {
    50: '#aa7ada',
    500: '#8041c9',
    950: '#000000',
  },
}
SCSS
$custom: #8041c9;
$custom-light: #aa7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8041c9",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 201
  },
  "hsl": {
    "h": 267.794,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.20084,
    "h": 300.9
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#8041C9
secondary
#B5D195
accent
#DF4999
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8041C9

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

Preview Lab → · Contrast checker → · Palette generator →

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