#D257F2#D257F2

#D257F2 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.6% C 0.239 H 318.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#D257F2
RGBrgb(210, 87, 242)
HSLhsl(288, 86%, 65%)
HSVhsv(288, 64%, 95%)
CMYKcmyk(13.2%, 64%, 0%, 5.1%)
CIE-LABlab(58.91, 69.71, -56.26)
CIE-LCHlch(58.91, 89.58, 321.09°)
OKLaboklab(67.59% 0.1793 -0.1574)
OKLCHoklch(67.59% 0.239 318.7)
XYZxyz(46.0114, 26.9309, 86.7617)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257F2 #77F257
analogous
#8557F2 #D257F2 #F257C4
triadic
#D257F2 #F2D257 #57F2D2
tetradic
#D257F2 #F28557 #77F257 #57C4F2
square
#D257F2 #F28557 #77F257 #57C4F2
split-complementary
#D257F2 #C4F257 #57F285
monochromatic
#9B0FC0 #C31EEE #D257F2 #E190F6 #F0C9FB

Accessibility & contrast

On white

3.29
#D257F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#D257F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257F2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257F2#FFFFFF#000000##000000
##D257F21.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2386F7
Deuteranopia (green-blind)
#6092EE
Tritanopia (blue-blind)
#D2729D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d257f2;
/* rgb */ color: rgb(210, 87, 242);
/* oklch */ color: oklch(67.6% 0.239 318.7);
Tailwind
colors: {
  custom: {
    50: '#e38ef7',
    500: '#d257f2',
    950: '#000000',
  },
}
SCSS
$custom: #d257f2;
$custom-light: #e38ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d257f2",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 287.613,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67592,
    "c": 0.23858,
    "h": 318.7
  },
  "luminance": 0.26929
}

Semantic roles & 50–950 ramp

primary
#D257F2
secondary
#C3EDB8
accent
#E20331
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D257F2

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

Preview Lab → · Contrast checker → · Palette generator →

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