#D258DC#D258DC

#D258DC is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.5% C 0.218 H 324.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D258DC
RGBrgb(210, 88, 220)
HSLhsl(295, 65%, 60%)
HSVhsv(295, 60%, 86%)
CMYKcmyk(4.5%, 60%, 0%, 13.7%)
CIE-LABlab(57.90, 65.28, -45.55)
CIE-LCHlch(57.90, 79.60, 325.09°)
OKLaboklab(66.48% 0.1776 -0.1262)
OKLCHoklch(66.48% 0.218 324.6)
XYZxyz(42.9853, 25.8508, 70.4218)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D258DC #62DC58
analogous
#9058DC #D258DC #DC58A4
triadic
#D258DC #DCD258 #58DCD2
tetradic
#D258DC #DC9058 #62DC58 #58A4DC
square
#D258DC #DC9058 #62DC58 #58A4DC
split-complementary
#D258DC #A4DC58 #58DC90
monochromatic
#902099 #C02BCC #D258DC #E08BE7 #EDBDF1

Accessibility & contrast

On white

3.40
#D258DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D258DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D258DC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D258DC#FFFFFF#000000##000000
##D258DC1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E0
Deuteranopia (green-blind)
#6F90D8
Tritanopia (blue-blind)
#D66B92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d258dc;
/* rgb */ color: rgb(210, 88, 220);
/* oklch */ color: oklch(66.5% 0.218 324.6);
Tailwind
colors: {
  custom: {
    50: '#e38ee7',
    500: '#d258dc',
    950: '#000000',
  },
}
SCSS
$custom: #d258dc;
$custom-light: #e38ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#d258dc",
  "rgb": {
    "r": 210,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 295.455,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66479,
    "c": 0.21793,
    "h": 324.6
  },
  "luminance": 0.25848
}

Semantic roles & 50–950 ramp

primary
#D258DC
secondary
#B3E1AF
accent
#CD1826
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D258DC

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

Preview Lab → · Contrast checker → · Palette generator →

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