#8046D5#8046D5

#8046D5 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.208 H 297.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8046D5
RGBrgb(128, 70, 213)
HSLhsl(264, 63%, 55%)
HSVhsv(264, 67%, 84%)
CMYKcmyk(39.9%, 67.1%, 0%, 16.5%)
CIE-LABlab(43.91, 53.81, -64.58)
CIE-LCHlch(43.91, 84.06, 309.80°)
OKLaboklab(54% 0.0962 -0.1843)
OKLCHoklch(54% 0.208 297.6)
XYZxyz(23.0994, 13.7732, 64.3794)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046D5 #9BD546
analogous
#4653D5 #8046D5 #C846D5
triadic
#8046D5 #D58046 #46D580
tetradic
#8046D5 #D54653 #9BD546 #46D5C8
square
#8046D5 #D54653 #9BD546 #46D5C8
split-complementary
#8046D5 #D5C846 #53D546
monochromatic
#471E83 #6229B5 #8046D5 #A278E0 #C4AAEC

Accessibility & contrast

On white

5.59
#8046D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8046D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046D5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046D5#FFFFFF#000000##FFFFFF
##8046D51.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#6B6888
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8046d5;
/* rgb */ color: rgb(128, 70, 213);
/* oklch */ color: oklch(54.0% 0.208 297.6);
Tailwind
colors: {
  custom: {
    50: '#ab7de3',
    500: '#8046d5',
    950: '#000000',
  },
}
SCSS
$custom: #8046d5;
$custom-light: #ab7de3;
$custom-dark: #000000;
JSON
{
  "hex": "#8046d5",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 264.336,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.20791,
    "h": 297.6
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#8046D5
secondary
#C1D99E
accent
#E642A3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8046D5

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

Preview Lab → · Contrast checker → · Palette generator →

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