#8046D1#8046D1

#8046D1 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.203 H 298.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8046D1
RGBrgb(128, 70, 209)
HSLhsl(265, 60%, 55%)
HSVhsv(265, 67%, 82%)
CMYKcmyk(38.8%, 66.5%, 0%, 18%)
CIE-LABlab(43.61, 52.80, -62.75)
CIE-LCHlch(43.61, 82.01, 310.07°)
OKLaboklab(53.7% 0.0968 -0.1789)
OKLCHoklch(53.7% 0.203 298.4)
XYZxyz(22.5980, 13.5726, 61.7384)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046D1 #97D146
analogous
#4652D1 #8046D1 #C646D1
triadic
#8046D1 #D18046 #46D180
tetradic
#8046D1 #D14652 #97D146 #46D1C6
square
#8046D1 #D14652 #97D146 #46D1C6
split-complementary
#8046D1 #D1C646 #52D146
monochromatic
#471F7D #622BAE #8046D1 #A277DD #C3A8E9

Accessibility & contrast

On white

5.65
#8046D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8046D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046D1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046D1#FFFFFF#000000##FFFFFF
##8046D11.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#6D6686
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8046d1;
/* rgb */ color: rgb(128, 70, 209);
/* oklch */ color: oklch(53.7% 0.203 298.4);
Tailwind
colors: {
  custom: {
    50: '#ab7de0',
    500: '#8046d1',
    950: '#000000',
  },
}
SCSS
$custom: #8046d1;
$custom-light: #ab7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#8046d1",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 265.036,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.537,
    "c": 0.20342,
    "h": 298.4
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#8046D1
secondary
#BED79C
accent
#E344A1
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8046D1

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

Preview Lab → · Contrast checker → · Palette generator →

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