#8152DF#8152DF

#8152DF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.204 H 294.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8152DF
RGBrgb(129, 82, 223)
HSLhsl(260, 69%, 60%)
HSVhsv(260, 63%, 87%)
CMYKcmyk(42.2%, 63.2%, 0%, 12.5%)
CIE-LABlab(47.01, 50.40, -65.24)
CIE-LCHlch(47.01, 82.44, 307.69°)
OKLaboklab(56.49% 0.0839 -0.1862)
OKLCHoklch(56.49% 0.204 294.2)
XYZxyz(25.3863, 16.0288, 71.5541)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152DF #B0DF52
analogous
#526ADF #8152DF #C752DF
triadic
#8152DF #DF8152 #52DF81
tetradic
#8152DF #DF526A #B0DF52 #52DFC7
square
#8152DF #DF526A #B0DF52 #52DFC7
split-complementary
#8152DF #DFC752 #6ADF52
monochromatic
#461D9A #5E26CE #8152DF #A786E9 #CCB9F2

Accessibility & contrast

On white

4.99
#8152DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8152DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152DF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152DF#FFFFFF#000000##FFFFFF
##8152DF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#687391
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8152df;
/* rgb */ color: rgb(129, 82, 223);
/* oklch */ color: oklch(56.5% 0.204 294.2);
Tailwind
colors: {
  custom: {
    50: '#ac85ea',
    500: '#8152df',
    950: '#000000',
  },
}
SCSS
$custom: #8152df;
$custom-light: #ac85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8152df",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 260,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.20425,
    "h": 294.2
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#8152DF
secondary
#CFE2AB
accent
#EC3CB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8152DF

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

Preview Lab → · Contrast checker → · Palette generator →

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