#8152D2#8152D2

#8152D2 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.189 H 296.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8152D2
RGBrgb(129, 82, 210)
HSLhsl(262, 59%, 57%)
HSVhsv(262, 61%, 82%)
CMYKcmyk(38.6%, 61%, 0%, 17.6%)
CIE-LABlab(46.12, 46.97, -59.27)
CIE-LCHlch(46.12, 75.63, 308.39°)
OKLaboklab(55.56% 0.0848 -0.1687)
OKLCHoklch(55.56% 0.189 296.7)
XYZxyz(23.7004, 15.3544, 62.6753)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152D2 #A3D252
analogous
#5263D2 #8152D2 #C152D2
triadic
#8152D2 #D28152 #52D281
tetradic
#8152D2 #D25263 #A3D252 #52D2C1
square
#8152D2 #D25263 #A3D252 #52D2C1
split-complementary
#8152D2 #D2C152 #63D252
monochromatic
#482387 #6130B7 #8152D2 #A483DF #C8B3EB

Accessibility & contrast

On white

5.16
#8152D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8152D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152D2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152D2#FFFFFF#000000##FFFFFF
##8152D21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#136CCF
Tritanopia (blue-blind)
#6D6E8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8152d2;
/* rgb */ color: rgb(129, 82, 210);
/* oklch */ color: oklch(55.6% 0.189 296.7);
Tailwind
colors: {
  custom: {
    50: '#ab85e1',
    500: '#8152d2',
    950: '#000000',
  },
}
SCSS
$custom: #8152d2;
$custom-light: #ab85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8152d2",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 262.031,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.18881,
    "h": 296.7
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#8152D2
secondary
#C7DAA6
accent
#E246A9
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8152D2

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

Preview Lab → · Contrast checker → · Palette generator →

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