#8046D2#8046D2

#8046D2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.205 H 298.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8046D2
RGBrgb(128, 70, 210)
HSLhsl(265, 61%, 55%)
HSVhsv(265, 67%, 82%)
CMYKcmyk(39%, 66.7%, 0%, 17.6%)
CIE-LABlab(43.69, 53.05, -63.21)
CIE-LCHlch(43.69, 82.52, 310.00°)
OKLaboklab(53.77% 0.0966 -0.1803)
OKLCHoklch(53.77% 0.205 298.2)
XYZxyz(22.7221, 13.6223, 62.3925)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046D2 #98D246
analogous
#4652D2 #8046D2 #C646D2
triadic
#8046D2 #D28046 #46D280
tetradic
#8046D2 #D24652 #98D246 #46D2C6
square
#8046D2 #D24652 #98D246 #46D2C6
split-complementary
#8046D2 #D2C646 #52D246
monochromatic
#471F7F #622BB0 #8046D2 #A277DE #C4A8EA

Accessibility & contrast

On white

5.64
#8046D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8046D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046D2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046D2#FFFFFF#000000##FFFFFF
##8046D21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#6C6786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8046d2;
/* rgb */ color: rgb(128, 70, 210);
/* oklch */ color: oklch(53.8% 0.205 298.2);
Tailwind
colors: {
  custom: {
    50: '#ab7de1',
    500: '#8046d2',
    950: '#000000',
  },
}
SCSS
$custom: #8046d2;
$custom-light: #ab7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8046d2",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 264.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.20454,
    "h": 298.2
  },
  "luminance": 0.13623
}

Semantic roles & 50–950 ramp

primary
#8046D2
secondary
#BFD79C
accent
#E444A2
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8046D2

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

Preview Lab → · Contrast checker → · Palette generator →

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