#8046CC#8046CC

#8046CC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.198 H 299.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8046CC
RGBrgb(128, 70, 204)
HSLhsl(266, 57%, 54%)
HSVhsv(266, 66%, 80%)
CMYKcmyk(37.3%, 65.7%, 0%, 20%)
CIE-LABlab(43.25, 51.53, -60.45)
CIE-LCHlch(43.25, 79.44, 310.45°)
OKLaboklab(53.33% 0.0974 -0.1722)
OKLCHoklch(53.33% 0.198 299.5)
XYZxyz(21.9886, 13.3289, 58.5293)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046CC #92CC46
analogous
#464FCC #8046CC #C346CC
triadic
#8046CC #CC8046 #46CC80
tetradic
#8046CC #CC464F #92CC46 #46CCC3
square
#8046CC #CC464F #92CC46 #46CCC3
split-complementary
#8046CC #CCC346 #4FCC46
monochromatic
#462177 #622EA7 #8046CC #A176D9 #C2A6E6

Accessibility & contrast

On white

5.73
#8046CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8046CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046CC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046CC#FFFFFF#000000##FFFFFF
##8046CC1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#6F6583
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8046cc;
/* rgb */ color: rgb(128, 70, 204);
/* oklch */ color: oklch(53.3% 0.198 299.5);
Tailwind
colors: {
  custom: {
    50: '#aa7ddc',
    500: '#8046cc',
    950: '#000000',
  },
}
SCSS
$custom: #8046cc;
$custom-light: #aa7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8046cc",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 265.97,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.19778,
    "h": 299.5
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#8046CC
secondary
#BBD49A
accent
#E0489E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8046CC

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

Preview Lab → · Contrast checker → · Palette generator →

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