#8252E3#8252E3

#8252E3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.209 H 293.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8252E3
RGBrgb(130, 82, 227)
HSLhsl(260, 72%, 61%)
HSVhsv(260, 64%, 89%)
CMYKcmyk(42.7%, 63.9%, 0%, 11%)
CIE-LABlab(47.40, 51.65, -66.88)
CIE-LCHlch(47.40, 84.50, 307.68°)
OKLaboklab(56.89% 0.0848 -0.191)
OKLCHoklch(56.89% 0.209 293.9)
XYZxyz(26.0846, 16.3258, 74.4350)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252E3 #B3E352
analogous
#526AE3 #8252E3 #CA52E3
triadic
#8252E3 #E38252 #52E382
tetradic
#8252E3 #E3526A #B3E352 #52E3CA
square
#8252E3 #E3526A #B3E352 #52E3CA
split-complementary
#8252E3 #E3CA52 #6AE352
monochromatic
#471AA1 #5E23D5 #8252E3 #A887EC #CEBBF4

Accessibility & contrast

On white

4.92
#8252E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8252E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252E3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252E3#FFFFFF#000000##FFFFFF
##8252E31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#677493
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8252e3;
/* rgb */ color: rgb(130, 82, 227);
/* oklch */ color: oklch(56.9% 0.209 293.9);
Tailwind
colors: {
  custom: {
    50: '#ad85ed',
    500: '#8252e3',
    950: '#000000',
  },
}
SCSS
$custom: #8252e3;
$custom-light: #ad85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8252e3",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 259.862,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56885,
    "c": 0.209,
    "h": 293.9
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#8252E3
secondary
#D2E4AD
accent
#D41194
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8252E3

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

Preview Lab → · Contrast checker → · Palette generator →

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