#8252D3#8252D3

#8252D3 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.190 H 296.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8252D3
RGBrgb(130, 82, 211)
HSLhsl(262, 59%, 57%)
HSVhsv(262, 61%, 83%)
CMYKcmyk(38.4%, 61.1%, 0%, 17.3%)
CIE-LABlab(46.29, 47.45, -59.56)
CIE-LCHlch(46.29, 76.15, 308.54°)
OKLaboklab(55.73% 0.0861 -0.1695)
OKLCHoklch(55.73% 0.19 296.9)
XYZxyz(23.9781, 15.4832, 63.3406)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252D3 #A3D352
analogous
#5262D3 #8252D3 #C352D3
triadic
#8252D3 #D38252 #52D382
tetradic
#8252D3 #D35262 #A3D352 #52D3C3
square
#8252D3 #D35262 #A3D352 #52D3C3
split-complementary
#8252D3 #D3C352 #62D352
monochromatic
#482388 #622FB9 #8252D3 #A583DF #C9B4EC

Accessibility & contrast

On white

5.13
#8252D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8252D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252D3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252D3#FFFFFF#000000##FFFFFF
##8252D31.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#126CD0
Tritanopia (blue-blind)
#6E6E8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8252d3;
/* rgb */ color: rgb(130, 82, 211);
/* oklch */ color: oklch(55.7% 0.190 296.9);
Tailwind
colors: {
  custom: {
    50: '#ab85e1',
    500: '#8252d3',
    950: '#000000',
  },
}
SCSS
$custom: #8252d3;
$custom-light: #ab85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8252d3",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 262.326,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55728,
    "c": 0.1901,
    "h": 296.9
  },
  "luminance": 0.15484
}

Semantic roles & 50–950 ramp

primary
#8252D3
secondary
#C7DAA6
accent
#E345A8
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8252D3

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

Preview Lab → · Contrast checker → · Palette generator →

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