#D252FF#D252FF

#D252FF is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.9% C 0.256 H 315.9°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#D252FF
RGBrgb(210, 82, 255)
HSLhsl(284, 100%, 66%)
HSVhsv(284, 68%, 100%)
CMYKcmyk(17.6%, 67.8%, 0%, 0%)
CIE-LABlab(58.94, 74.18, -63.43)
CIE-LCHlch(58.94, 97.60, 319.47°)
OKLaboklab(67.85% 0.184 -0.1784)
OKLCHoklch(67.85% 0.256 315.9)
XYZxyz(47.6428, 26.9580, 97.2821)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D252FF #7FFF52
analogous
#7B52FF #D252FF #FF52D5
triadic
#D252FF #FFD252 #52FFD2
tetradic
#D252FF #FF7B52 #7FFF52 #52D5FF
square
#D252FF #FF7B52 #7FFF52 #52D5FF
split-complementary
#D252FF #D5FF52 #52FF7B
monochromatic
#9F00D7 #C215FF #D252FF #E28FFF #F2CCFF

Accessibility & contrast

On white

3.29
#D252FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#D252FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D252FF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D252FF#FFFFFF#000000##000000
##D252FF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5191FB
Tritanopia (blue-blind)
#CF74A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d252ff;
/* rgb */ color: rgb(210, 82, 255);
/* oklch */ color: oklch(67.9% 0.256 315.9);
Tailwind
colors: {
  custom: {
    50: '#e48cff',
    500: '#d252ff',
    950: '#000000',
  },
}
SCSS
$custom: #d252ff;
$custom-light: #e48cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d252ff",
  "rgb": {
    "r": 210,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 284.393,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67851,
    "c": 0.25625,
    "h": 315.9
  },
  "luminance": 0.26956
}

Semantic roles & 50–950 ramp

primary
#D252FF
secondary
#C9F3BA
accent
#E6003C
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D252FF

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

Preview Lab → · Contrast checker → · Palette generator →

#D252FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva