#8252E1#8252E1

#8252E1 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.207 H 294.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8252E1
RGBrgb(130, 82, 225)
HSLhsl(260, 70%, 60%)
HSVhsv(260, 64%, 88%)
CMYKcmyk(42.2%, 63.6%, 0%, 11.8%)
CIE-LABlab(47.26, 51.13, -65.97)
CIE-LCHlch(47.26, 83.46, 307.77°)
OKLaboklab(56.74% 0.085 -0.1884)
OKLCHoklch(56.74% 0.207 294.3)
XYZxyz(25.8102, 16.2160, 72.9897)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252E1 #B1E152
analogous
#5269E1 #8252E1 #C952E1
triadic
#8252E1 #E18252 #52E182
tetradic
#8252E1 #E15269 #B1E152 #52E1C9
square
#8252E1 #E15269 #B1E152 #52E1C9
split-complementary
#8252E1 #E1C952 #69E152
monochromatic
#471B9D #5E24D1 #8252E1 #A886EA #CDBAF3

Accessibility & contrast

On white

4.95
#8252E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8252E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252E1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252E1#FFFFFF#000000##FFFFFF
##8252E11.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#687392
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8252e1;
/* rgb */ color: rgb(130, 82, 225);
/* oklch */ color: oklch(56.7% 0.207 294.3);
Tailwind
colors: {
  custom: {
    50: '#ad85eb',
    500: '#8252e1',
    950: '#000000',
  },
}
SCSS
$custom: #8252e1;
$custom-light: #ad85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8252e1",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 260.14,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56737,
    "c": 0.20666,
    "h": 294.3
  },
  "luminance": 0.16217
}

Semantic roles & 50–950 ramp

primary
#8252E1
secondary
#D0E3AC
accent
#D21392
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8252E1

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

Preview Lab → · Contrast checker → · Palette generator →

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