#8152DB#8152DB

#8152DB is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.200 H 295.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8152DB
RGBrgb(129, 82, 219)
HSLhsl(261, 66%, 59%)
HSVhsv(261, 63%, 86%)
CMYKcmyk(41.1%, 62.6%, 0%, 14.1%)
CIE-LABlab(46.73, 49.34, -63.42)
CIE-LCHlch(46.73, 80.35, 307.88°)
OKLaboklab(56.2% 0.0842 -0.1809)
OKLCHoklch(56.2% 0.2 295)
XYZxyz(24.8533, 15.8156, 68.7474)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152DB #ACDB52
analogous
#5268DB #8152DB #C652DB
triadic
#8152DB #DB8152 #52DB81
tetradic
#8152DB #DB5268 #ACDB52 #52DBC6
square
#8152DB #DB5268 #ACDB52 #52DBC6
split-complementary
#8152DB #DBC652 #68DB52
monochromatic
#471F94 #5F29C6 #8152DB #A685E6 #CBB7F0

Accessibility & contrast

On white

5.04
#8152DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8152DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152DB#FFFFFF#000000##FFFFFF
##8152DB1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#69718F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8152db;
/* rgb */ color: rgb(129, 82, 219);
/* oklch */ color: oklch(56.2% 0.200 295.0);
Tailwind
colors: {
  custom: {
    50: '#ac85e7',
    500: '#8152db',
    950: '#000000',
  },
}
SCSS
$custom: #8152db;
$custom-light: #ac85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8152db",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 260.584,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56199,
    "c": 0.19952,
    "h": 295
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#8152DB
secondary
#CDDFAA
accent
#E93FAE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8152DB

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

Preview Lab → · Contrast checker → · Palette generator →

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