#D257FA#D257FA

#D257FA is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.1% C 0.246 H 316.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D257FA
RGBrgb(210, 87, 250)
HSLhsl(285, 94%, 66%)
HSVhsv(285, 65%, 98%)
CMYKcmyk(16%, 65.2%, 0%, 2%)
CIE-LABlab(59.36, 71.22, -59.98)
CIE-LCHlch(59.36, 93.11, 319.90°)
OKLaboklab(68.06% 0.1791 -0.1683)
OKLCHoklch(68.06% 0.246 316.8)
XYZxyz(47.2393, 27.4220, 93.2286)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257FA #7FFA57
analogous
#8057FA #D257FA #FA57D0
triadic
#D257FA #FAD257 #57FAD2
tetradic
#D257FA #FA8057 #7FFA57 #57D0FA
square
#D257FA #FA8057 #7FFA57 #57D0FA
split-complementary
#D257FA #D0FA57 #57FA80
monochromatic
#9F06D0 #C21CF8 #D257FA #E292FC #F2CEFE

Accessibility & contrast

On white

3.24
#D257FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D257FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257FA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257FA#FFFFFF#000000##000000
##D257FA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0987FF
Deuteranopia (green-blind)
#5993F6
Tritanopia (blue-blind)
#D075A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d257fa;
/* rgb */ color: rgb(210, 87, 250);
/* oklch */ color: oklch(68.1% 0.246 316.8);
Tailwind
colors: {
  custom: {
    50: '#e48efd',
    500: '#d257fa',
    950: '#000000',
  },
}
SCSS
$custom: #d257fa;
$custom-light: #e48efd;
$custom-dark: #000000;
JSON
{
  "hex": "#d257fa",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 285.276,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68063,
    "c": 0.24572,
    "h": 316.8
  },
  "luminance": 0.2742
}

Semantic roles & 50–950 ramp

primary
#D257FA
secondary
#C9F1BC
accent
#E60038
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D257FA

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

Preview Lab → · Contrast checker → · Palette generator →

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