#8152CA#8152CA

#8152CA is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.179 H 298.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8152CA
RGBrgb(129, 82, 202)
HSLhsl(264, 53%, 56%)
HSVhsv(264, 59%, 79%)
CMYKcmyk(36.1%, 59.4%, 0%, 20.8%)
CIE-LABlab(45.59, 44.89, -55.53)
CIE-LCHlch(45.59, 71.40, 308.95°)
OKLaboklab(55% 0.0851 -0.1577)
OKLCHoklch(55% 0.179 298.4)
XYZxyz(22.7286, 14.9657, 57.5569)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152CA #9BCA52
analogous
#525FCA #8152CA #BD52CA
triadic
#8152CA #CA8152 #52CA81
tetradic
#8152CA #CA525F #9BCA52 #52CABD
square
#8152CA #CA525F #9BCA52 #52CABD
split-complementary
#8152CA #CABD52 #5FCA52
monochromatic
#48267C #6334AB #8152CA #A381D8 #C5B0E7

Accessibility & contrast

On white

5.26
#8152CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8152CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152CA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152CA#FFFFFF#000000##FFFFFF
##8152CA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046CCE
Deuteranopia (green-blind)
#256BC7
Tritanopia (blue-blind)
#706C86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8152ca;
/* rgb */ color: rgb(129, 82, 202);
/* oklch */ color: oklch(55.0% 0.179 298.4);
Tailwind
colors: {
  custom: {
    50: '#aa85db',
    500: '#8152ca',
    950: '#000000',
  },
}
SCSS
$custom: #8152ca;
$custom-light: #aa85db;
$custom-dark: #000000;
JSON
{
  "hex": "#8152ca",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 263.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.17917,
    "h": 298.4
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#8152CA
secondary
#C1D5A3
accent
#DD4BA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8152CA

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

Preview Lab → · Contrast checker → · Palette generator →

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