#8152CF#8152CF

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

Color values

HEX#8152CF
RGBrgb(129, 82, 207)
HSLhsl(263, 57%, 57%)
HSVhsv(263, 60%, 81%)
CMYKcmyk(37.7%, 60.4%, 0%, 18.8%)
CIE-LABlab(45.92, 46.18, -57.88)
CIE-LCHlch(45.92, 74.04, 308.59°)
OKLaboklab(55.35% 0.0849 -0.1646)
OKLCHoklch(55.35% 0.185 297.3)
XYZxyz(23.3302, 15.2063, 60.7253)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152CF #A0CF52
analogous
#5262CF #8152CF #C052CF
triadic
#8152CF #CF8152 #52CF81
tetradic
#8152CF #CF5262 #A0CF52 #52CFC0
square
#8152CF #CF5262 #A0CF52 #52CFC0
split-complementary
#8152CF #CFC052 #62CF52
monochromatic
#482482 #6231B2 #8152CF #A482DC #C7B2EA

Accessibility & contrast

On white

5.20
#8152CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8152CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152CF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152CF#FFFFFF#000000##FFFFFF
##8152CF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#1B6BCC
Tritanopia (blue-blind)
#6F6D89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8152cf;
/* rgb */ color: rgb(129, 82, 207);
/* oklch */ color: oklch(55.3% 0.185 297.3);
Tailwind
colors: {
  custom: {
    50: '#aa85de',
    500: '#8152cf',
    950: '#000000',
  },
}
SCSS
$custom: #8152cf;
$custom-light: #aa85de;
$custom-dark: #000000;
JSON
{
  "hex": "#8152cf",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 262.56,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55347,
    "c": 0.18521,
    "h": 297.3
  },
  "luminance": 0.15207
}

Semantic roles & 50–950 ramp

primary
#8152CF
secondary
#C5D8A5
accent
#E048A7
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8152CF

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

Preview Lab → · Contrast checker → · Palette generator →

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