#8252CD#8252CD

#8252CD is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.183 H 298.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8252CD
RGBrgb(130, 82, 205)
HSLhsl(263, 55%, 56%)
HSVhsv(263, 60%, 80%)
CMYKcmyk(36.6%, 60%, 0%, 19.6%)
CIE-LABlab(45.89, 45.89, -56.76)
CIE-LCHlch(45.89, 72.99, 308.95°)
OKLaboklab(55.31% 0.0863 -0.1613)
OKLCHoklch(55.31% 0.183 298.2)
XYZxyz(23.2399, 15.1879, 59.4529)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252CD #9DCD52
analogous
#5260CD #8252CD #C052CD
triadic
#8252CD #CD8252 #52CD82
tetradic
#8252CD #CD5260 #9DCD52 #52CDC0
square
#8252CD #CD5260 #9DCD52 #52CDC0
split-complementary
#8252CD #CDC052 #60CD52
monochromatic
#482580 #6333AF #8252CD #A481DB #C7B1E8

Accessibility & contrast

On white

5.20
#8252CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8252CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252CD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252CD#FFFFFF#000000##FFFFFF
##8252CD1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#216BCA
Tritanopia (blue-blind)
#716C88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8252cd;
/* rgb */ color: rgb(130, 82, 205);
/* oklch */ color: oklch(55.3% 0.183 298.2);
Tailwind
colors: {
  custom: {
    50: '#ab85dd',
    500: '#8252cd',
    950: '#000000',
  },
}
SCSS
$custom: #8252cd;
$custom-light: #ab85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8252cd",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 263.415,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55311,
    "c": 0.18293,
    "h": 298.2
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#8252CD
secondary
#C3D7A4
accent
#DE49A4
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8252CD

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

Preview Lab → · Contrast checker → · Palette generator →

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