#8252D2#8252D2

#8252D2 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.189 H 297.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8252D2
RGBrgb(130, 82, 210)
HSLhsl(263, 59%, 57%)
HSVhsv(263, 61%, 82%)
CMYKcmyk(38.1%, 61%, 0%, 17.6%)
CIE-LABlab(46.22, 47.19, -59.10)
CIE-LCHlch(46.22, 75.62, 308.61°)
OKLaboklab(55.66% 0.0861 -0.1681)
OKLCHoklch(55.66% 0.189 297.1)
XYZxyz(23.8531, 15.4332, 62.6825)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252D2 #A2D252
analogous
#5262D2 #8252D2 #C252D2
triadic
#8252D2 #D28252 #52D282
tetradic
#8252D2 #D25262 #A2D252 #52D2C2
square
#8252D2 #D25262 #A2D252 #52D2C2
split-complementary
#8252D2 #D2C252 #62D252
monochromatic
#482387 #6230B7 #8252D2 #A583DF #C8B3EB

Accessibility & contrast

On white

5.14
#8252D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8252D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252D2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252D2#FFFFFF#000000##FFFFFF
##8252D21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#156CCF
Tritanopia (blue-blind)
#6F6E8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8252d2;
/* rgb */ color: rgb(130, 82, 210);
/* oklch */ color: oklch(55.7% 0.189 297.1);
Tailwind
colors: {
  custom: {
    50: '#ab85e1',
    500: '#8252d2',
    950: '#000000',
  },
}
SCSS
$custom: #8252d2;
$custom-light: #ab85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8252d2",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 262.5,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55658,
    "c": 0.18891,
    "h": 297.1
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#8252D2
secondary
#C6DAA6
accent
#E246A7
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8252D2

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

Preview Lab → · Contrast checker → · Palette generator →

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