#8046CD#8046CD

#8046CD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.199 H 299.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8046CD
RGBrgb(128, 70, 205)
HSLhsl(266, 57%, 54%)
HSVhsv(266, 66%, 80%)
CMYKcmyk(37.6%, 65.9%, 0%, 19.6%)
CIE-LABlab(43.33, 51.79, -60.92)
CIE-LCHlch(43.33, 79.95, 310.37°)
OKLaboklab(53.4% 0.0973 -0.1735)
OKLCHoklch(53.4% 0.199 299.3)
XYZxyz(22.1089, 13.3770, 59.1630)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046CD #93CD46
analogous
#4650CD #8046CD #C446CD
triadic
#8046CD #CD8046 #46CD80
tetradic
#8046CD #CD4650 #93CD46 #46CDC4
square
#8046CD #CD4650 #93CD46 #46CDC4
split-complementary
#8046CD #CDC446 #50CD46
monochromatic
#462078 #622DA8 #8046CD #A176DA #C2A6E7

Accessibility & contrast

On white

5.71
#8046CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8046CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046CD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046CD#FFFFFF#000000##FFFFFF
##8046CD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#6E6584
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8046cd;
/* rgb */ color: rgb(128, 70, 205);
/* oklch */ color: oklch(53.4% 0.199 299.3);
Tailwind
colors: {
  custom: {
    50: '#aa7ddd',
    500: '#8046cd',
    950: '#000000',
  },
}
SCSS
$custom: #8046cd;
$custom-light: #aa7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8046cd",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 265.778,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53403,
    "c": 0.19891,
    "h": 299.3
  },
  "luminance": 0.13377
}

Semantic roles & 50–950 ramp

primary
#8046CD
secondary
#BBD49B
accent
#E1479F
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8046CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8046CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva