#8145D8#8145D8

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

Color values

HEX#8145D8
RGBrgb(129, 69, 216)
HSLhsl(264, 65%, 56%)
HSVhsv(264, 68%, 85%)
CMYKcmyk(40.3%, 68.1%, 0%, 15.3%)
CIE-LABlab(44.06, 55.26, -66.04)
CIE-LCHlch(44.06, 86.11, 309.92°)
OKLaboklab(54.21% 0.0982 -0.1885)
OKLCHoklch(54.21% 0.213 297.5)
XYZxyz(23.5729, 13.8808, 66.3897)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145D8 #9CD845
analogous
#4552D8 #8145D8 #CA45D8
triadic
#8145D8 #D88145 #45D881
tetradic
#8145D8 #D84552 #9CD845 #45D8CA
square
#8145D8 #D84552 #9CD845 #45D8CA
split-complementary
#8145D8 #D8CA45 #52D845
monochromatic
#481C86 #6227B9 #8145D8 #A378E3 #C6AAED

Accessibility & contrast

On white

5.56
#8145D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8145D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145D8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145D8#FFFFFF#000000##FFFFFF
##8145D81.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)
#0069DC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#6B6889
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8145d8;
/* rgb */ color: rgb(129, 69, 216);
/* oklch */ color: oklch(54.2% 0.213 297.5);
Tailwind
colors: {
  custom: {
    50: '#ac7de5',
    500: '#8145d8',
    950: '#000000',
  },
}
SCSS
$custom: #8145d8;
$custom-light: #ac7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#8145d8",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 264.49,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.21258,
    "h": 297.5
  },
  "luminance": 0.13881
}

Semantic roles & 50–950 ramp

primary
#8145D8
secondary
#C2DB9E
accent
#E840A3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8145D8

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

Preview Lab → · Contrast checker → · Palette generator →

#8145D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva