#8252AF#8252AF

#8252AF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.4% C 0.146 H 305.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8252AF
RGBrgb(130, 82, 175)
HSLhsl(271, 37%, 50%)
HSVhsv(271, 53%, 69%)
CMYKcmyk(25.7%, 53.1%, 0%, 31.4%)
CIE-LABlab(44.05, 38.34, -42.25)
CIE-LCHlch(44.05, 57.05, 312.22°)
OKLaboklab(53.37% 0.0858 -0.1187)
OKLCHoklch(53.37% 0.146 305.9)
XYZxyz(19.9595, 13.8757, 42.1759)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252AF #7FAF52
analogous
#5352AF #8252AF #AF52AD
triadic
#8252AF #AF8252 #52AF82
tetradic
#8252AF #AF5352 #7FAF52 #52ADAF
square
#8252AF #AF5352 #7FAF52 #52ADAF
split-complementary
#8252AF #ADAF52 #52AF53
monochromatic
#442B5C #633E86 #8252AF #A07CC2 #BEA6D6

Accessibility & contrast

On white

5.56
#8252AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8252AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252AF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252AF#FFFFFF#000000##FFFFFF
##8252AF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#4368AD
Tritanopia (blue-blind)
#7B6379
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8252af;
/* rgb */ color: rgb(130, 82, 175);
/* oklch */ color: oklch(53.4% 0.146 305.9);
Tailwind
colors: {
  custom: {
    50: '#a984c7',
    500: '#8252af',
    950: '#000000',
  },
}
SCSS
$custom: #8252af;
$custom-light: #a984c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8252af",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 270.968,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.14648,
    "h": 305.9
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#8252AF
secondary
#AEC39A
accent
#CD5B92
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8252AF

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

Preview Lab → · Contrast checker → · Palette generator →

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