#D259F2#D259F2

#D259F2 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.8% C 0.236 H 318.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#D259F2
RGBrgb(210, 89, 242)
HSLhsl(287, 85%, 65%)
HSVhsv(287, 63%, 95%)
CMYKcmyk(13.2%, 63.2%, 0%, 5.1%)
CIE-LABlab(59.21, 68.87, -55.78)
CIE-LCHlch(59.21, 88.62, 320.99°)
OKLaboklab(67.81% 0.1771 -0.156)
OKLCHoklch(67.81% 0.236 318.6)
XYZxyz(46.1756, 27.2592, 86.8164)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D259F2 #79F259
analogous
#8659F2 #D259F2 #F259C6
triadic
#D259F2 #F2D259 #59F2D2
tetradic
#D259F2 #F28659 #79F259 #59C6F2
square
#D259F2 #F28659 #79F259 #59C6F2
split-complementary
#D259F2 #C6F259 #59F286
monochromatic
#9C0FC1 #C320EE #D259F2 #E192F6 #F1CBFB

Accessibility & contrast

On white

3.26
#D259F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#D259F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D259F2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D259F2#FFFFFF#000000##000000
##D259F21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2887F7
Deuteranopia (green-blind)
#6193EE
Tritanopia (blue-blind)
#D2749E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d259f2;
/* rgb */ color: rgb(210, 89, 242);
/* oklch */ color: oklch(67.8% 0.236 318.6);
Tailwind
colors: {
  custom: {
    50: '#e38ff7',
    500: '#d259f2',
    950: '#000000',
  },
}
SCSS
$custom: #d259f2;
$custom-light: #e38ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d259f2",
  "rgb": {
    "r": 210,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 287.451,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67811,
    "c": 0.23599,
    "h": 318.6
  },
  "luminance": 0.27257
}

Semantic roles & 50–950 ramp

primary
#D259F2
secondary
#C4EDB9
accent
#E20432
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D259F2

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

Preview Lab → · Contrast checker → · Palette generator →

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