#8152DE#8152DE

#8152DE is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.203 H 294.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8152DE
RGBrgb(129, 82, 222)
HSLhsl(260, 68%, 60%)
HSVhsv(260, 63%, 87%)
CMYKcmyk(41.9%, 63.1%, 0%, 12.9%)
CIE-LABlab(46.94, 50.13, -64.79)
CIE-LCHlch(46.94, 81.92, 307.73°)
OKLaboklab(56.42% 0.084 -0.1849)
OKLCHoklch(56.42% 0.203 294.4)
XYZxyz(25.2518, 15.9750, 70.8461)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152DE #AFDE52
analogous
#5269DE #8152DE #C752DE
triadic
#8152DE #DE8152 #52DE81
tetradic
#8152DE #DE5269 #AFDE52 #52DEC7
square
#8152DE #DE5269 #AFDE52 #52DEC7
split-complementary
#8152DE #DEC752 #69DE52
monochromatic
#471D99 #5E27CC #8152DE #A685E8 #CCB9F2

Accessibility & contrast

On white

5.01
#8152DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8152DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152DE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152DE#FFFFFF#000000##FFFFFF
##8152DE1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#687291
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8152de;
/* rgb */ color: rgb(129, 82, 222);
/* oklch */ color: oklch(56.4% 0.203 294.4);
Tailwind
colors: {
  custom: {
    50: '#ac85e9',
    500: '#8152de',
    950: '#000000',
  },
}
SCSS
$custom: #8152de;
$custom-light: #ac85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8152de",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 260.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56418,
    "c": 0.20307,
    "h": 294.4
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#8152DE
secondary
#CFE1AB
accent
#EB3DB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8152DE

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

Preview Lab → · Contrast checker → · Palette generator →

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