#8152E3#8152E3

#8152E3 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.209 H 293.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8152E3
RGBrgb(129, 82, 227)
HSLhsl(259, 72%, 61%)
HSVhsv(259, 64%, 89%)
CMYKcmyk(43.2%, 63.9%, 0%, 11%)
CIE-LABlab(47.30, 51.46, -67.05)
CIE-LCHlch(47.30, 84.52, 307.51°)
OKLaboklab(56.79% 0.0835 -0.1915)
OKLCHoklch(56.79% 0.209 293.6)
XYZxyz(25.9319, 16.2470, 74.4278)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152E3 #B4E352
analogous
#526BE3 #8152E3 #C952E3
triadic
#8152E3 #E38152 #52E381
tetradic
#8152E3 #E3526B #B4E352 #52E3C9
square
#8152E3 #E3526B #B4E352 #52E3C9
split-complementary
#8152E3 #E3C952 #6BE352
monochromatic
#461AA1 #5C23D5 #8152E3 #A787EC #CEBBF4

Accessibility & contrast

On white

4.94
#8152E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8152E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152E3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152E3#FFFFFF#000000##FFFFFF
##8152E31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#667493
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8152e3;
/* rgb */ color: rgb(129, 82, 227);
/* oklch */ color: oklch(56.8% 0.209 293.6);
Tailwind
colors: {
  custom: {
    50: '#ac85ed',
    500: '#8152e3',
    950: '#000000',
  },
}
SCSS
$custom: #8152e3;
$custom-light: #ac85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8152e3",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 259.448,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.20895,
    "h": 293.6
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#8152E3
secondary
#D2E4AD
accent
#D41195
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8152E3

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

Preview Lab → · Contrast checker → · Palette generator →

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