#8046D7#8046D7

#8046D7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.210 H 297.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8046D7
RGBrgb(128, 70, 215)
HSLhsl(264, 64%, 56%)
HSVhsv(264, 67%, 84%)
CMYKcmyk(40.5%, 67.4%, 0%, 15.7%)
CIE-LABlab(44.05, 54.32, -65.48)
CIE-LCHlch(44.05, 85.08, 309.68°)
OKLaboklab(54.15% 0.096 -0.187)
OKLCHoklch(54.15% 0.21 297.2)
XYZxyz(23.3548, 13.8754, 65.7245)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046D7 #9DD746
analogous
#4654D7 #8046D7 #C846D7
triadic
#8046D7 #D78046 #46D780
tetradic
#8046D7 #D74654 #9DD746 #46D7C8
square
#8046D7 #D74654 #9DD746 #46D7C8
split-complementary
#8046D7 #D7C846 #54D746
monochromatic
#471D86 #6128B8 #8046D7 #A378E2 #C5ABED

Accessibility & contrast

On white

5.56
#8046D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8046D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046D7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046D7#FFFFFF#000000##FFFFFF
##8046D71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#6A6989
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8046d7;
/* rgb */ color: rgb(128, 70, 215);
/* oklch */ color: oklch(54.2% 0.210 297.2);
Tailwind
colors: {
  custom: {
    50: '#ab7de4',
    500: '#8046d7',
    950: '#000000',
  },
}
SCSS
$custom: #8046d7;
$custom-light: #ab7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8046d7",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 264,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.21015,
    "h": 297.2
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#8046D7
secondary
#C2DA9E
accent
#E740A5
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8046D7

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

Preview Lab → · Contrast checker → · Palette generator →

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