#D257ED#D257ED

#D257ED is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.3% C 0.234 H 320.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D257ED
RGBrgb(210, 87, 237)
HSLhsl(289, 81%, 64%)
HSVhsv(289, 63%, 93%)
CMYKcmyk(11.4%, 63.3%, 0%, 7.1%)
CIE-LABlab(58.63, 68.78, -53.92)
CIE-LCHlch(58.63, 87.39, 321.91°)
OKLaboklab(67.3% 0.1793 -0.1506)
OKLCHoklch(67.3% 0.234 320)
XYZxyz(45.2707, 26.6346, 82.8607)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257ED #72ED57
analogous
#8757ED #D257ED #ED57BD
triadic
#D257ED #EDD257 #57EDD2
tetradic
#D257ED #ED8757 #72ED57 #57BDED
square
#D257ED #ED8757 #72ED57 #57BDED
split-complementary
#D257ED #BDED57 #57ED87
monochromatic
#9914B6 #C320E7 #D257ED #E18EF3 #F0C6F9

Accessibility & contrast

On white

3.32
#D257ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D257ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257ED
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257ED#FFFFFF#000000##000000
##D257ED1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F2
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#D3709B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d257ed;
/* rgb */ color: rgb(210, 87, 237);
/* oklch */ color: oklch(67.3% 0.234 320.0);
Tailwind
colors: {
  custom: {
    50: '#e38ef3',
    500: '#d257ed',
    950: '#000000',
  },
}
SCSS
$custom: #d257ed;
$custom-light: #e38ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#d257ed",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 289.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67304,
    "c": 0.23414,
    "h": 320
  },
  "luminance": 0.26632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D257ED

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

Preview Lab → · Contrast checker → · Palette generator →

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