#8252C8#8252C8

#8252C8 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.177 H 299.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8252C8
RGBrgb(130, 82, 200)
HSLhsl(264, 52%, 55%)
HSVhsv(264, 59%, 78%)
CMYKcmyk(35%, 59%, 0%, 21.6%)
CIE-LABlab(45.57, 44.60, -54.40)
CIE-LCHlch(45.57, 70.35, 309.35°)
OKLaboklab(54.97% 0.0865 -0.1543)
OKLCHoklch(54.97% 0.177 299.3)
XYZxyz(22.6460, 14.9503, 56.3250)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252C8 #98C852
analogous
#525DC8 #8252C8 #BD52C8
triadic
#8252C8 #C88252 #52C882
tetradic
#8252C8 #C8525D #98C852 #52C8BD
square
#8252C8 #C8525D #98C852 #52C8BD
split-complementary
#8252C8 #C8BD52 #5DC852
monochromatic
#482779 #6435A8 #8252C8 #A480D7 #C5AFE6

Accessibility & contrast

On white

5.26
#8252C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8252C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252C8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252C8#FFFFFF#000000##FFFFFF
##8252C81.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6CCC
Deuteranopia (green-blind)
#2A6BC5
Tritanopia (blue-blind)
#736B85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8252c8;
/* rgb */ color: rgb(130, 82, 200);
/* oklch */ color: oklch(55.0% 0.177 299.3);
Tailwind
colors: {
  custom: {
    50: '#ab85d9',
    500: '#8252c8',
    950: '#000000',
  },
}
SCSS
$custom: #8252c8;
$custom-light: #ab85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8252c8",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 264.407,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.17691,
    "h": 299.3
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#8252C8
secondary
#BFD4A2
accent
#DB4DA1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8252C8

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

Preview Lab → · Contrast checker → · Palette generator →

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