#8252BC#8252BC

#8252BC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.2% C 0.162 H 302.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8252BC
RGBrgb(130, 82, 188)
HSLhsl(267, 44%, 53%)
HSVhsv(267, 56%, 74%)
CMYKcmyk(30.9%, 56.4%, 0%, 26.3%)
CIE-LABlab(44.82, 41.55, -48.64)
CIE-LCHlch(44.82, 63.98, 310.51°)
OKLaboklab(54.18% 0.0865 -0.1374)
OKLCHoklch(54.18% 0.162 302.2)
XYZxyz(21.2982, 14.4112, 49.2268)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252BC #8CBC52
analogous
#5257BC #8252BC #B752BC
triadic
#8252BC #BC8252 #52BC82
tetradic
#8252BC #BC5257 #8CBC52 #52BCB7
square
#8252BC #BC5257 #8CBC52 #52BCB7
split-complementary
#8252BC #BCB752 #57BC52
monochromatic
#47296A #643A97 #8252BC #A27ECD #C2AADE

Accessibility & contrast

On white

5.41
#8252BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8252BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252BC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252BC#FFFFFF#000000##FFFFFF
##8252BC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669C0
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#77677F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8252bc;
/* rgb */ color: rgb(130, 82, 188);
/* oklch */ color: oklch(54.2% 0.162 302.2);
Tailwind
colors: {
  custom: {
    50: '#aa84d1',
    500: '#8252bc',
    950: '#000000',
  },
}
SCSS
$custom: #8252bc;
$custom-light: #aa84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8252bc",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 267.17,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.16236,
    "h": 302.2
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#8252BC
secondary
#B7CC9E
accent
#D4549A
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8252BC

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

Preview Lab → · Contrast checker → · Palette generator →

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