#8046CA#8046CA

#8046CA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.2% C 0.196 H 299.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8046CA
RGBrgb(128, 70, 202)
HSLhsl(266, 55%, 53%)
HSVhsv(266, 65%, 79%)
CMYKcmyk(36.6%, 65.3%, 0%, 20.8%)
CIE-LABlab(43.11, 51.03, -59.53)
CIE-LCHlch(43.11, 78.41, 310.61°)
OKLaboklab(53.18% 0.0976 -0.1694)
OKLCHoklch(53.18% 0.196 299.9)
XYZxyz(21.7503, 13.2336, 57.2741)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046CA #90CA46
analogous
#464ECA #8046CA #C246CA
triadic
#8046CA #CA8046 #46CA80
tetradic
#8046CA #CA464E #90CA46 #46CAC2
square
#8046CA #CA464E #90CA46 #46CAC2
split-complementary
#8046CA #CAC246 #4ECA46
monochromatic
#462174 #622FA4 #8046CA #A176D8 #C1A5E5

Accessibility & contrast

On white

5.76
#8046CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8046CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046CA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046CA#FFFFFF#000000##FFFFFF
##8046CA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#706482
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8046ca;
/* rgb */ color: rgb(128, 70, 202);
/* oklch */ color: oklch(53.2% 0.196 299.9);
Tailwind
colors: {
  custom: {
    50: '#aa7ddb',
    500: '#8046ca',
    950: '#000000',
  },
}
SCSS
$custom: #8046ca;
$custom-light: #aa7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8046ca",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 266.364,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.19552,
    "h": 299.9
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#8046CA
secondary
#B9D29A
accent
#DF499D
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8046CA

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

Preview Lab → · Contrast checker → · Palette generator →

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