#8252DA#8252DA

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

Color values

HEX#8252DA
RGBrgb(130, 82, 218)
HSLhsl(261, 65%, 59%)
HSVhsv(261, 62%, 85%)
CMYKcmyk(40.4%, 62.4%, 0%, 14.5%)
CIE-LABlab(46.77, 49.28, -62.79)
CIE-LCHlch(46.77, 79.82, 308.13°)
OKLaboklab(56.23% 0.0856 -0.179)
OKLCHoklch(56.23% 0.198 295.6)
XYZxyz(24.8748, 15.8418, 68.0633)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252DA #AADA52
analogous
#5266DA #8252DA #C652DA
triadic
#8252DA #DA8252 #52DA82
tetradic
#8252DA #DA5266 #AADA52 #52DAC6
square
#8252DA #DA5266 #AADA52 #52DAC6
split-complementary
#8252DA #DAC652 #66DA52
monochromatic
#481F92 #612AC5 #8252DA #A684E5 #CBB7F0

Accessibility & contrast

On white

5.04
#8252DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8252DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252DA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252DA#FFFFFF#000000##FFFFFF
##8252DA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#6B718E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8252da;
/* rgb */ color: rgb(130, 82, 218);
/* oklch */ color: oklch(56.2% 0.198 295.6);
Tailwind
colors: {
  custom: {
    50: '#ac85e6',
    500: '#8252da',
    950: '#000000',
  },
}
SCSS
$custom: #8252da;
$custom-light: #ac85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8252da",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 261.176,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56227,
    "c": 0.19841,
    "h": 295.6
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#8252DA
secondary
#CCDFA9
accent
#E840AD
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8252DA

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

Preview Lab → · Contrast checker → · Palette generator →

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