#8046D4#8046D4

#8046D4 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.207 H 297.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8046D4
RGBrgb(128, 70, 212)
HSLhsl(265, 62%, 55%)
HSVhsv(265, 67%, 83%)
CMYKcmyk(39.6%, 67%, 0%, 16.9%)
CIE-LABlab(43.83, 53.56, -64.12)
CIE-LCHlch(43.83, 83.55, 309.87°)
OKLaboklab(53.93% 0.0964 -0.1829)
OKLCHoklch(53.93% 0.207 297.8)
XYZxyz(22.9729, 13.7226, 63.7130)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046D4 #9AD446
analogous
#4653D4 #8046D4 #C746D4
triadic
#8046D4 #D48046 #46D480
tetradic
#8046D4 #D44653 #9AD446 #46D4C7
square
#8046D4 #D44653 #9AD446 #46D4C7
split-complementary
#8046D4 #D4C746 #53D446
monochromatic
#471E81 #622AB3 #8046D4 #A278E0 #C4A9EB

Accessibility & contrast

On white

5.61
#8046D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8046D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046D4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046D4#FFFFFF#000000##FFFFFF
##8046D41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#6C6887
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8046d4;
/* rgb */ color: rgb(128, 70, 212);
/* oklch */ color: oklch(53.9% 0.207 297.8);
Tailwind
colors: {
  custom: {
    50: '#ab7de2',
    500: '#8046d4',
    950: '#000000',
  },
}
SCSS
$custom: #8046d4;
$custom-light: #ab7de2;
$custom-dark: #000000;
JSON
{
  "hex": "#8046d4",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 264.507,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.20678,
    "h": 297.8
  },
  "luminance": 0.13723
}

Semantic roles & 50–950 ramp

primary
#8046D4
secondary
#C0D99D
accent
#E542A3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8046D4

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

Preview Lab → · Contrast checker → · Palette generator →

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