#8252DB#8252DB

#8252DB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.200 H 295.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8252DB
RGBrgb(130, 82, 219)
HSLhsl(261, 66%, 59%)
HSVhsv(261, 63%, 86%)
CMYKcmyk(40.6%, 62.6%, 0%, 14.1%)
CIE-LABlab(46.84, 49.54, -63.25)
CIE-LCHlch(46.84, 80.34, 308.07°)
OKLaboklab(56.3% 0.0855 -0.1803)
OKLCHoklch(56.3% 0.2 295.4)
XYZxyz(25.0060, 15.8943, 68.7545)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252DB #ABDB52
analogous
#5267DB #8252DB #C752DB
triadic
#8252DB #DB8252 #52DB82
tetradic
#8252DB #DB5267 #ABDB52 #52DBC7
square
#8252DB #DB5267 #ABDB52 #52DBC7
split-complementary
#8252DB #DBC752 #67DB52
monochromatic
#481F94 #6029C6 #8252DB #A785E6 #CBB7F0

Accessibility & contrast

On white

5.03
#8252DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8252DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252DB#FFFFFF#000000##FFFFFF
##8252DB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#6B718F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8252db;
/* rgb */ color: rgb(130, 82, 219);
/* oklch */ color: oklch(56.3% 0.200 295.4);
Tailwind
colors: {
  custom: {
    50: '#ac85e7',
    500: '#8252db',
    950: '#000000',
  },
}
SCSS
$custom: #8252db;
$custom-light: #ac85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8252db",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 261.022,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56299,
    "c": 0.1996,
    "h": 295.4
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#8252DB
secondary
#CCDFAA
accent
#E93FAD
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8252DB

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

Preview Lab → · Contrast checker → · Palette generator →

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