#8252CC#8252CC

#8252CC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.182 H 298.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8252CC
RGBrgb(130, 82, 204)
HSLhsl(264, 54%, 56%)
HSVhsv(264, 60%, 80%)
CMYKcmyk(36.3%, 59.8%, 0%, 20%)
CIE-LABlab(45.83, 45.63, -56.29)
CIE-LCHlch(45.83, 72.46, 309.03°)
OKLaboklab(55.24% 0.0864 -0.1599)
OKLCHoklch(55.24% 0.182 298.4)
XYZxyz(23.1196, 15.1398, 58.8192)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252CC #9CCC52
analogous
#525FCC #8252CC #BF52CC
triadic
#8252CC #CC8252 #52CC82
tetradic
#8252CC #CC525F #9CCC52 #52CCBF
square
#8252CC #CC525F #9CCC52 #52CCBF
split-complementary
#8252CC #CCBF52 #5FCC52
monochromatic
#48257E #6333AE #8252CC #A481DA #C6B1E8

Accessibility & contrast

On white

5.21
#8252CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8252CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252CC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252CC#FFFFFF#000000##FFFFFF
##8252CC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#236BC9
Tritanopia (blue-blind)
#716C87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8252cc;
/* rgb */ color: rgb(130, 82, 204);
/* oklch */ color: oklch(55.2% 0.182 298.4);
Tailwind
colors: {
  custom: {
    50: '#ab85dc',
    500: '#8252cc',
    950: '#000000',
  },
}
SCSS
$custom: #8252cc;
$custom-light: #ab85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8252cc",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 263.607,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55243,
    "c": 0.18173,
    "h": 298.4
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#8252CC
secondary
#C2D6A4
accent
#DE4AA4
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8252CC

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

Preview Lab → · Contrast checker → · Palette generator →

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