#8152D7#8152D7

#8152D7 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.195 H 295.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8152D7
RGBrgb(129, 82, 215)
HSLhsl(261, 62%, 58%)
HSVhsv(261, 62%, 84%)
CMYKcmyk(40%, 61.9%, 0%, 15.7%)
CIE-LABlab(46.46, 48.28, -61.59)
CIE-LCHlch(46.46, 78.26, 308.10°)
OKLaboklab(55.91% 0.0845 -0.1755)
OKLCHoklch(55.91% 0.195 295.7)
XYZxyz(24.3331, 15.6075, 66.0073)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152D7 #A8D752
analogous
#5265D7 #8152D7 #C352D7
triadic
#8152D7 #D78152 #52D781
tetradic
#8152D7 #D75265 #A8D752 #52D7C3
square
#8152D7 #D75265 #A8D752 #52D7C3
split-complementary
#8152D7 #D7C352 #65D752
monochromatic
#47218E #602CC0 #8152D7 #A584E2 #C9B5EE

Accessibility & contrast

On white

5.10
#8152D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8152D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152D7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152D7#FFFFFF#000000##FFFFFF
##8152D71.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#6B708D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8152d7;
/* rgb */ color: rgb(129, 82, 215);
/* oklch */ color: oklch(55.9% 0.195 295.7);
Tailwind
colors: {
  custom: {
    50: '#ab85e4',
    500: '#8152d7',
    950: '#000000',
  },
}
SCSS
$custom: #8152d7;
$custom-light: #ab85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8152d7",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 261.203,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55911,
    "c": 0.19477,
    "h": 295.7
  },
  "luminance": 0.15608
}

Semantic roles & 50–950 ramp

primary
#8152D7
secondary
#CADDA8
accent
#E642AC
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8152D7

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

Preview Lab → · Contrast checker → · Palette generator →

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