#8152CE#8152CE

#8152CE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.184 H 297.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8152CE
RGBrgb(129, 82, 206)
HSLhsl(263, 56%, 56%)
HSVhsv(263, 60%, 81%)
CMYKcmyk(37.4%, 60.2%, 0%, 19.2%)
CIE-LABlab(45.85, 45.92, -57.41)
CIE-LCHlch(45.85, 73.52, 308.66°)
OKLaboklab(55.28% 0.085 -0.1632)
OKLCHoklch(55.28% 0.184 297.5)
XYZxyz(23.2083, 15.1576, 60.0835)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152CE #9FCE52
analogous
#5261CE #8152CE #BF52CE
triadic
#8152CE #CE8152 #52CE81
tetradic
#8152CE #CE5261 #9FCE52 #52CEBF
square
#8152CE #CE5261 #9FCE52 #52CEBF
split-complementary
#8152CE #CEBF52 #61CE52
monochromatic
#482581 #6232B1 #8152CE #A482DC #C6B1E9

Accessibility & contrast

On white

5.21
#8152CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8152CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152CE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152CE#FFFFFF#000000##FFFFFF
##8152CE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#1D6BCB
Tritanopia (blue-blind)
#6F6D88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8152ce;
/* rgb */ color: rgb(129, 82, 206);
/* oklch */ color: oklch(55.3% 0.184 297.5);
Tailwind
colors: {
  custom: {
    50: '#aa85de',
    500: '#8152ce',
    950: '#000000',
  },
}
SCSS
$custom: #8152ce;
$custom-light: #aa85de;
$custom-dark: #000000;
JSON
{
  "hex": "#8152ce",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 262.742,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55278,
    "c": 0.184,
    "h": 297.5
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#8152CE
secondary
#C4D7A4
accent
#DF49A6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8152CE

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

Preview Lab → · Contrast checker → · Palette generator →

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