#8252BB#8252BB

#8252BB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.1% C 0.161 H 302.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8252BB
RGBrgb(130, 82, 187)
HSLhsl(267, 44%, 53%)
HSVhsv(267, 56%, 73%)
CMYKcmyk(30.5%, 56.1%, 0%, 26.7%)
CIE-LABlab(44.76, 41.30, -48.16)
CIE-LCHlch(44.76, 63.44, 310.62°)
OKLaboklab(54.12% 0.0864 -0.136)
OKLCHoklch(54.12% 0.161 302.4)
XYZxyz(21.1908, 14.3683, 48.6610)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252BB #8BBB52
analogous
#5256BB #8252BB #B752BB
triadic
#8252BB #BB8252 #52BB82
tetradic
#8252BB #BB5256 #8BBB52 #52BBB7
square
#8252BB #BB5256 #8BBB52 #52BBB7
split-complementary
#8252BB #BBB752 #56BB52
monochromatic
#472969 #643B95 #8252BB #A27ECC #C1AADE

Accessibility & contrast

On white

5.42
#8252BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8252BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252BB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252BB#FFFFFF#000000##FFFFFF
##8252BB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#77677E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8252bb;
/* rgb */ color: rgb(130, 82, 187);
/* oklch */ color: oklch(54.1% 0.161 302.4);
Tailwind
colors: {
  custom: {
    50: '#aa84d0',
    500: '#8252bb',
    950: '#000000',
  },
}
SCSS
$custom: #8252bb;
$custom-light: #aa84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8252bb",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 267.429,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54117,
    "c": 0.16115,
    "h": 302.4
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#8252BB
secondary
#B6CB9E
accent
#D35499
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8252BB

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

Preview Lab → · Contrast checker → · Palette generator →

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