#8252E5#8252E5

#8252E5 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.211 H 293.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8252E5
RGBrgb(130, 82, 229)
HSLhsl(260, 74%, 61%)
HSVhsv(260, 64%, 90%)
CMYKcmyk(43.2%, 64.2%, 0%, 10.2%)
CIE-LABlab(47.54, 52.19, -67.78)
CIE-LCHlch(47.54, 85.54, 307.60°)
OKLaboklab(57.03% 0.0846 -0.1936)
OKLCHoklch(57.03% 0.211 293.6)
XYZxyz(26.3622, 16.4368, 75.8972)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252E5 #B5E552
analogous
#526BE5 #8252E5 #CB52E5
triadic
#8252E5 #E58252 #52E582
tetradic
#8252E5 #E5526B #B5E552 #52E5CB
square
#8252E5 #E5526B #B5E552 #52E5CB
split-complementary
#8252E5 #E5CB52 #6BE552
monochromatic
#4619A4 #5D21D9 #8252E5 #A887ED #CFBCF5

Accessibility & contrast

On white

4.90
#8252E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8252E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252E5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252E5#FFFFFF#000000##FFFFFF
##8252E51.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#667594
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8252e5;
/* rgb */ color: rgb(130, 82, 229);
/* oklch */ color: oklch(57.0% 0.211 293.6);
Tailwind
colors: {
  custom: {
    50: '#ad85ee',
    500: '#8252e5',
    950: '#000000',
  },
}
SCSS
$custom: #8252e5;
$custom-light: #ad85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8252e5",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 259.592,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.21134,
    "h": 293.6
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#8252E5
secondary
#D3E5AE
accent
#D61095
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8252E5

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

Preview Lab → · Contrast checker → · Palette generator →

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