#8152C8#8152C8

#8152C8 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.177 H 298.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8152C8
RGBrgb(129, 82, 200)
HSLhsl(264, 52%, 55%)
HSVhsv(264, 59%, 78%)
CMYKcmyk(35.5%, 59%, 0%, 21.6%)
CIE-LABlab(45.46, 44.37, -54.58)
CIE-LCHlch(45.46, 70.34, 309.11°)
OKLaboklab(54.87% 0.0852 -0.1549)
OKLCHoklch(54.87% 0.177 298.8)
XYZxyz(22.4933, 14.8716, 56.3178)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152C8 #99C852
analogous
#525EC8 #8152C8 #BC52C8
triadic
#8152C8 #C88152 #52C881
tetradic
#8152C8 #C8525E #99C852 #52C8BC
square
#8152C8 #C8525E #99C852 #52C8BC
split-complementary
#8152C8 #C8BC52 #5EC852
monochromatic
#472779 #6335A8 #8152C8 #A380D7 #C5AFE6

Accessibility & contrast

On white

5.28
#8152C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8152C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152C8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152C8#FFFFFF#000000##FFFFFF
##8152C81.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6CCC
Deuteranopia (green-blind)
#286BC5
Tritanopia (blue-blind)
#716B85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8152c8;
/* rgb */ color: rgb(129, 82, 200);
/* oklch */ color: oklch(54.9% 0.177 298.8);
Tailwind
colors: {
  custom: {
    50: '#aa84d9',
    500: '#8152c8',
    950: '#000000',
  },
}
SCSS
$custom: #8152c8;
$custom-light: #aa84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8152c8",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 263.898,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54867,
    "c": 0.17676,
    "h": 298.8
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#8152C8
secondary
#C0D4A2
accent
#DB4DA2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8152C8

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

Preview Lab → · Contrast checker → · Palette generator →

#8152C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva