#D258ED#D258ED

#D258ED is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.233 H 319.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D258ED
RGBrgb(210, 88, 237)
HSLhsl(289, 81%, 64%)
HSVhsv(289, 63%, 93%)
CMYKcmyk(11.4%, 62.9%, 0%, 7.1%)
CIE-LABlab(58.79, 68.36, -53.67)
CIE-LCHlch(58.79, 86.91, 321.86°)
OKLaboklab(67.41% 0.1782 -0.1499)
OKLCHoklch(67.41% 0.233 319.9)
XYZxyz(45.3522, 26.7976, 82.8879)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D258ED #73ED58
analogous
#8758ED #D258ED #ED58BD
triadic
#D258ED #EDD258 #58EDD2
tetradic
#D258ED #ED8758 #73ED58 #58BDED
square
#D258ED #ED8758 #73ED58 #58BDED
split-complementary
#D258ED #BDED58 #58ED87
monochromatic
#9914B7 #C321E7 #D258ED #E18FF3 #F0C6F9

Accessibility & contrast

On white

3.30
#D258ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D258ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D258ED
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D258ED#FFFFFF#000000##000000
##D258ED1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E85F1
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#D3719B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d258ed;
/* rgb */ color: rgb(210, 88, 237);
/* oklch */ color: oklch(67.4% 0.233 319.9);
Tailwind
colors: {
  custom: {
    50: '#e38ff3',
    500: '#d258ed',
    950: '#000000',
  },
}
SCSS
$custom: #d258ed;
$custom-light: #e38ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d258ed",
  "rgb": {
    "r": 210,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 289.128,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67414,
    "c": 0.23283,
    "h": 319.9
  },
  "luminance": 0.26796
}

Semantic roles & 50–950 ramp

primary
#D258ED
secondary
#C0EBB6
accent
#DD092F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D258ED

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

Preview Lab → · Contrast checker → · Palette generator →

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