#8046DC#8046DC

#8046DC is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.216 H 296.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8046DC
RGBrgb(128, 70, 220)
HSLhsl(263, 68%, 57%)
HSVhsv(263, 68%, 86%)
CMYKcmyk(41.8%, 68.2%, 0%, 13.7%)
CIE-LABlab(44.43, 55.60, -67.73)
CIE-LCHlch(44.43, 87.63, 309.38°)
OKLaboklab(54.54% 0.0952 -0.1936)
OKLCHoklch(54.54% 0.216 296.2)
XYZxyz(24.0071, 14.1363, 69.1600)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046DC #A2DC46
analogous
#4657DC #8046DC #CB46DC
triadic
#8046DC #DC8046 #46DC80
tetradic
#8046DC #DC4657 #A2DC46 #46DCCB
square
#8046DC #DC4657 #A2DC46 #46DCCB
split-complementary
#8046DC #DCCB46 #57DC46
monochromatic
#471B8D #6124C0 #8046DC #A379E6 #C7ADEF

Accessibility & contrast

On white

5.49
#8046DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8046DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046DC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046DC#FFFFFF#000000##FFFFFF
##8046DC1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#686B8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8046dc;
/* rgb */ color: rgb(128, 70, 220);
/* oklch */ color: oklch(54.5% 0.216 296.2);
Tailwind
colors: {
  custom: {
    50: '#ac7ee8',
    500: '#8046dc',
    950: '#000000',
  },
}
SCSS
$custom: #8046dc;
$custom-light: #ac7ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8046dc",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 263.2,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.21572,
    "h": 296.2
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#8046DC
secondary
#C6DDA0
accent
#EB3DA8
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8046DC

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

Preview Lab → · Contrast checker → · Palette generator →

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