#8252B2#8252B2

#8252B2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.6% C 0.150 H 305.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8252B2
RGBrgb(130, 82, 178)
HSLhsl(270, 38%, 51%)
HSVhsv(270, 54%, 70%)
CMYKcmyk(27%, 53.9%, 0%, 30.2%)
CIE-LABlab(44.23, 39.07, -43.74)
CIE-LCHlch(44.23, 58.65, 311.77°)
OKLaboklab(53.56% 0.086 -0.1231)
OKLCHoklch(53.56% 0.15 305)
XYZxyz(20.2574, 13.9949, 43.7449)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252B2 #82B252
analogous
#5252B2 #8252B2 #B252B2
triadic
#8252B2 #B28252 #52B282
tetradic
#8252B2 #B25252 #82B252 #52B2B2
square
#8252B2 #B25252 #82B252 #52B2B2
split-complementary
#8252B2 #B2B252 #52B252
monochromatic
#452A5F #633D8A #8252B2 #A17CC5 #BFA7D8

Accessibility & contrast

On white

5.53
#8252B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8252B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252B2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252B2#FFFFFF#000000##FFFFFF
##8252B21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#7A647A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8252b2;
/* rgb */ color: rgb(130, 82, 178);
/* oklch */ color: oklch(53.6% 0.150 305.0);
Tailwind
colors: {
  custom: {
    50: '#a984c9',
    500: '#8252b2',
    950: '#000000',
  },
}
SCSS
$custom: #8252b2;
$custom-light: #a984c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8252b2",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 270,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53555,
    "c": 0.15016,
    "h": 305
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#8252B2
secondary
#B0C59B
accent
#CE5994
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8252B2

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

Preview Lab → · Contrast checker → · Palette generator →

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