#8252DF#8252DF

#8252DF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.6% C 0.204 H 294.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8252DF
RGBrgb(130, 82, 223)
HSLhsl(260, 69%, 60%)
HSVhsv(260, 63%, 87%)
CMYKcmyk(41.7%, 63.2%, 0%, 12.5%)
CIE-LABlab(47.12, 50.60, -65.07)
CIE-LCHlch(47.12, 82.43, 307.87°)
OKLaboklab(56.59% 0.0852 -0.1857)
OKLCHoklch(56.59% 0.204 294.6)
XYZxyz(25.5389, 16.1075, 71.5612)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252DF #AFDF52
analogous
#5268DF #8252DF #C952DF
triadic
#8252DF #DF8252 #52DF82
tetradic
#8252DF #DF5268 #AFDF52 #52DFC9
square
#8252DF #DF5268 #AFDF52 #52DFC9
split-complementary
#8252DF #DFC952 #68DF52
monochromatic
#471D9A #5F26CE #8252DF #A786E9 #CDB9F2

Accessibility & contrast

On white

4.97
#8252DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8252DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252DF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252DF#FFFFFF#000000##FFFFFF
##8252DF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#697391
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8252df;
/* rgb */ color: rgb(130, 82, 223);
/* oklch */ color: oklch(56.6% 0.204 294.6);
Tailwind
colors: {
  custom: {
    50: '#ad85ea',
    500: '#8252df',
    950: '#000000',
  },
}
SCSS
$custom: #8252df;
$custom-light: #ad85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8252df",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 260.426,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5659,
    "c": 0.20431,
    "h": 294.6
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#8252DF
secondary
#CFE2AB
accent
#EC3CB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8252DF

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

Preview Lab → · Contrast checker → · Palette generator →

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