#8252CE#8252CE

#8252CE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.184 H 297.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8252CE
RGBrgb(130, 82, 206)
HSLhsl(263, 56%, 56%)
HSVhsv(263, 60%, 81%)
CMYKcmyk(36.9%, 60.2%, 0%, 19.2%)
CIE-LABlab(45.96, 46.15, -57.23)
CIE-LCHlch(45.96, 73.52, 308.88°)
OKLaboklab(55.38% 0.0863 -0.1626)
OKLCHoklch(55.38% 0.184 297.9)
XYZxyz(23.3610, 15.2363, 60.0907)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252CE #9ECE52
analogous
#5260CE #8252CE #C052CE
triadic
#8252CE #CE8252 #52CE82
tetradic
#8252CE #CE5260 #9ECE52 #52CEC0
square
#8252CE #CE5260 #9ECE52 #52CEC0
split-complementary
#8252CE #CEC052 #60CE52
monochromatic
#482581 #6332B1 #8252CE #A482DC #C7B1E9

Accessibility & contrast

On white

5.19
#8252CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8252CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252CE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252CE#FFFFFF#000000##FFFFFF
##8252CE1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#1F6CCB
Tritanopia (blue-blind)
#706D88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8252ce;
/* rgb */ color: rgb(130, 82, 206);
/* oklch */ color: oklch(55.4% 0.184 297.9);
Tailwind
colors: {
  custom: {
    50: '#ab85de',
    500: '#8252ce',
    950: '#000000',
  },
}
SCSS
$custom: #8252ce;
$custom-light: #ab85de;
$custom-dark: #000000;
JSON
{
  "hex": "#8252ce",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 263.226,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5538,
    "c": 0.18413,
    "h": 297.9
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#8252CE
secondary
#C4D7A4
accent
#DF49A5
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8252CE

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

Preview Lab → · Contrast checker → · Palette generator →

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