#8252D8#8252D8

#8252D8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.196 H 295.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8252D8
RGBrgb(130, 82, 216)
HSLhsl(261, 63%, 58%)
HSVhsv(261, 62%, 85%)
CMYKcmyk(39.8%, 62%, 0%, 15.3%)
CIE-LABlab(46.63, 48.75, -61.87)
CIE-LCHlch(46.63, 78.77, 308.24°)
OKLaboklab(56.08% 0.0858 -0.1763)
OKLCHoklch(56.08% 0.196 295.9)
XYZxyz(24.6146, 15.7378, 66.6933)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252D8 #A8D852
analogous
#5265D8 #8252D8 #C552D8
triadic
#8252D8 #D88252 #52D882
tetradic
#8252D8 #D85265 #A8D852 #52D8C5
square
#8252D8 #D85265 #A8D852 #52D8C5
split-complementary
#8252D8 #D8C552 #65D852
monochromatic
#48208F #612CC1 #8252D8 #A684E3 #CAB6EF

Accessibility & contrast

On white

5.06
#8252D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8252D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252D8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252D8#FFFFFF#000000##FFFFFF
##8252D81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#6C708D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8252d8;
/* rgb */ color: rgb(130, 82, 216);
/* oklch */ color: oklch(56.1% 0.196 295.9);
Tailwind
colors: {
  custom: {
    50: '#ac85e5',
    500: '#8252d8',
    950: '#000000',
  },
}
SCSS
$custom: #8252d8;
$custom-light: #ac85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8252d8",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 261.493,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.19604,
    "h": 295.9
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#8252D8
secondary
#CADDA8
accent
#E642AB
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8252D8

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

Preview Lab → · Contrast checker → · Palette generator →

#8252D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva