#8252CA#8252CA

#8252CA is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.179 H 298.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8252CA
RGBrgb(130, 82, 202)
HSLhsl(264, 53%, 56%)
HSVhsv(264, 59%, 79%)
CMYKcmyk(35.6%, 59.4%, 0%, 20.8%)
CIE-LABlab(45.69, 45.11, -55.35)
CIE-LCHlch(45.69, 71.41, 309.18°)
OKLaboklab(55.11% 0.0864 -0.1571)
OKLCHoklch(55.11% 0.179 298.8)
XYZxyz(22.8813, 15.0444, 57.5640)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252CA #9ACA52
analogous
#525ECA #8252CA #BE52CA
triadic
#8252CA #CA8252 #52CA82
tetradic
#8252CA #CA525E #9ACA52 #52CABE
square
#8252CA #CA525E #9ACA52 #52CABE
split-complementary
#8252CA #CABE52 #5ECA52
monochromatic
#48267C #6434AB #8252CA #A481D8 #C6B0E7

Accessibility & contrast

On white

5.24
#8252CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8252CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252CA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252CA#FFFFFF#000000##FFFFFF
##8252CA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066CCE
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#726B86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8252ca;
/* rgb */ color: rgb(130, 82, 202);
/* oklch */ color: oklch(55.1% 0.179 298.8);
Tailwind
colors: {
  custom: {
    50: '#ab85db',
    500: '#8252ca',
    950: '#000000',
  },
}
SCSS
$custom: #8252ca;
$custom-light: #ab85db;
$custom-dark: #000000;
JSON
{
  "hex": "#8252ca",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 264,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.17932,
    "h": 298.8
  },
  "luminance": 0.15045
}

Semantic roles & 50–950 ramp

primary
#8252CA
secondary
#C1D5A3
accent
#DD4BA2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8252CA

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

Preview Lab → · Contrast checker → · Palette generator →

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