#D257F0#D257F0

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

Color values

HEX#D257F0
RGBrgb(210, 87, 240)
HSLhsl(288, 84%, 64%)
HSVhsv(288, 64%, 94%)
CMYKcmyk(12.5%, 63.7%, 0%, 5.9%)
CIE-LABlab(58.80, 69.33, -55.33)
CIE-LCHlch(58.80, 88.70, 321.41°)
OKLaboklab(67.48% 0.1793 -0.1547)
OKLCHoklch(67.48% 0.237 319.2)
XYZxyz(45.7127, 26.8114, 85.1884)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257F0 #75F057
analogous
#8657F0 #D257F0 #F057C2
triadic
#D257F0 #F0D257 #57F0D2
tetradic
#D257F0 #F08657 #75F057 #57C2F0
square
#D257F0 #F08657 #75F057 #57C2F0
split-complementary
#D257F0 #C2F057 #57F086
monochromatic
#9A11BC #C31FEB #D257F0 #E18FF5 #F0C7FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D257F0#FFFFFF#000000##000000
##D257F01.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)
#2785F5
Deuteranopia (green-blind)
#6192EC
Tritanopia (blue-blind)
#D2729C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d257f0;
/* rgb */ color: rgb(210, 87, 240);
/* oklch */ color: oklch(67.5% 0.237 319.2);
Tailwind
colors: {
  custom: {
    50: '#e38ef5',
    500: '#d257f0',
    950: '#000000',
  },
}
SCSS
$custom: #d257f0;
$custom-light: #e38ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d257f0",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 288.235,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67476,
    "c": 0.23679,
    "h": 319.2
  },
  "luminance": 0.26809
}

Semantic roles & 50–950 ramp

primary
#D257F0
secondary
#C1ECB7
accent
#E00530
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D257F0

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

Preview Lab → · Contrast checker → · Palette generator →

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