#8152D3#8152D3

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

Color values

HEX#8152D3
RGBrgb(129, 82, 211)
HSLhsl(262, 59%, 57%)
HSVhsv(262, 61%, 83%)
CMYKcmyk(38.9%, 61.1%, 0%, 17.3%)
CIE-LABlab(46.18, 47.23, -59.74)
CIE-LCHlch(46.18, 76.15, 308.33°)
OKLaboklab(55.63% 0.0847 -0.17)
OKLCHoklch(55.63% 0.19 296.5)
XYZxyz(23.8254, 15.4044, 63.3335)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152D3 #A4D352
analogous
#5264D3 #8152D3 #C152D3
triadic
#8152D3 #D38152 #52D381
tetradic
#8152D3 #D35264 #A4D352 #52D3C1
square
#8152D3 #D35264 #A4D352 #52D3C1
split-complementary
#8152D3 #D3C152 #64D352
monochromatic
#482388 #612FB9 #8152D3 #A583DF #C8B4EC

Accessibility & contrast

On white

5.15
#8152D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8152D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152D3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152D3#FFFFFF#000000##FFFFFF
##8152D31.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#0F6CD0
Tritanopia (blue-blind)
#6D6F8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8152d3;
/* rgb */ color: rgb(129, 82, 211);
/* oklch */ color: oklch(55.6% 0.190 296.5);
Tailwind
colors: {
  custom: {
    50: '#ab85e1',
    500: '#8152d3',
    950: '#000000',
  },
}
SCSS
$custom: #8152d3;
$custom-light: #ab85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8152d3",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 261.86,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55627,
    "c": 0.18999,
    "h": 296.5
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8152D3

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

Preview Lab → · Contrast checker → · Palette generator →

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