#8252D4#8252D4

#8252D4 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.191 H 296.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8252D4
RGBrgb(130, 82, 212)
HSLhsl(262, 60%, 58%)
HSVhsv(262, 61%, 83%)
CMYKcmyk(38.7%, 61.3%, 0%, 16.9%)
CIE-LABlab(46.36, 47.71, -60.03)
CIE-LCHlch(46.36, 76.67, 308.48°)
OKLaboklab(55.8% 0.086 -0.1709)
OKLCHoklch(55.8% 0.191 296.7)
XYZxyz(24.1038, 15.5335, 64.0029)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252D4 #A4D452
analogous
#5263D4 #8252D4 #C352D4
triadic
#8252D4 #D48252 #52D482
tetradic
#8252D4 #D45263 #A4D452 #52D4C3
square
#8252D4 #D45263 #A4D452 #52D4C3
split-complementary
#8252D4 #D4C352 #63D452
monochromatic
#482289 #622EBA #8252D4 #A583E0 #C9B4EC

Accessibility & contrast

On white

5.11
#8252D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8252D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252D4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252D4#FFFFFF#000000##FFFFFF
##8252D41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0E6CD1
Tritanopia (blue-blind)
#6E6F8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8252d4;
/* rgb */ color: rgb(130, 82, 212);
/* oklch */ color: oklch(55.8% 0.191 296.7);
Tailwind
colors: {
  custom: {
    50: '#ac85e2',
    500: '#8252d4',
    950: '#000000',
  },
}
SCSS
$custom: #8252d4;
$custom-light: #ac85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8252d4",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 262.154,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.1913,
    "h": 296.7
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#8252D4
secondary
#C8DBA7
accent
#E344A9
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8252D4

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

Preview Lab → · Contrast checker → · Palette generator →

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