#8252E7#8252E7

#8252E7 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.214 H 293.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8252E7
RGBrgb(130, 82, 231)
HSLhsl(259, 76%, 61%)
HSVhsv(259, 65%, 91%)
CMYKcmyk(43.7%, 64.5%, 0%, 9.4%)
CIE-LABlab(47.69, 52.72, -68.67)
CIE-LCHlch(47.69, 86.57, 307.51°)
OKLaboklab(57.18% 0.0844 -0.1963)
OKLCHoklch(57.18% 0.214 293.3)
XYZxyz(26.6431, 16.5492, 77.3763)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252E7 #B7E752
analogous
#526DE7 #8252E7 #CD52E7
triadic
#8252E7 #E78252 #52E782
tetradic
#8252E7 #E7526D #B7E752 #52E7CD
square
#8252E7 #E7526D #B7E752 #52E7CD
split-complementary
#8252E7 #E7CD52 #6DE752
monochromatic
#4617A7 #5C1FDD #8252E7 #A988EE #D0BDF6

Accessibility & contrast

On white

4.87
#8252E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8252E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252E7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252E7#FFFFFF#000000##FFFFFF
##8252E71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#657595
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8252e7;
/* rgb */ color: rgb(130, 82, 231);
/* oklch */ color: oklch(57.2% 0.214 293.3);
Tailwind
colors: {
  custom: {
    50: '#ad85f0',
    500: '#8252e7',
    950: '#000000',
  },
}
SCSS
$custom: #8252e7;
$custom-light: #ad85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8252e7",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 259.329,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57183,
    "c": 0.21367,
    "h": 293.3
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#8252E7
secondary
#D4E6AF
accent
#D80E97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8252E7

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

Preview Lab → · Contrast checker → · Palette generator →

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