#8046DD#8046DD

#8046DD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.217 H 296.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8046DD
RGBrgb(128, 70, 221)
HSLhsl(263, 69%, 57%)
HSVhsv(263, 68%, 87%)
CMYKcmyk(42.1%, 68.3%, 0%, 13.3%)
CIE-LABlab(44.50, 55.85, -68.18)
CIE-LCHlch(44.50, 88.14, 309.32°)
OKLaboklab(54.62% 0.0951 -0.1949)
OKLCHoklch(54.62% 0.217 296)
XYZxyz(24.1399, 14.1894, 69.8596)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046DD #A3DD46
analogous
#4658DD #8046DD #CB46DD
triadic
#8046DD #DD8046 #46DD80
tetradic
#8046DD #DD4658 #A3DD46 #46DDCB
square
#8046DD #DD4658 #A3DD46 #46DDCB
split-complementary
#8046DD #DDCB46 #58DD46
monochromatic
#471A8E #6124C2 #8046DD #A37AE7 #C7ADF0

Accessibility & contrast

On white

5.47
#8046DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8046DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046DD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046DD#FFFFFF#000000##FFFFFF
##8046DD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8046dd;
/* rgb */ color: rgb(128, 70, 221);
/* oklch */ color: oklch(54.6% 0.217 296.0);
Tailwind
colors: {
  custom: {
    50: '#ac7ee9',
    500: '#8046dd',
    950: '#000000',
  },
}
SCSS
$custom: #8046dd;
$custom-light: #ac7ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8046dd",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 263.046,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.21684,
    "h": 296
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#8046DD
secondary
#C7DEA1
accent
#EC3CA8
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8046DD

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

Preview Lab → · Contrast checker → · Palette generator →

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