#D257EF#D257EF

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

Color values

HEX#D257EF
RGBrgb(210, 87, 239)
HSLhsl(289, 83%, 64%)
HSVhsv(289, 64%, 94%)
CMYKcmyk(12.1%, 63.6%, 0%, 6.3%)
CIE-LABlab(58.74, 69.15, -54.86)
CIE-LCHlch(58.74, 88.26, 321.57°)
OKLaboklab(67.42% 0.1793 -0.1533)
OKLCHoklch(67.42% 0.236 319.5)
XYZxyz(45.5645, 26.7521, 84.4082)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257EF #74EF57
analogous
#8657EF #D257EF #EF57C0
triadic
#D257EF #EFD257 #57EFD2
tetradic
#D257EF #EF8657 #74EF57 #57C0EF
square
#D257EF #EF8657 #74EF57 #57C0EF
split-complementary
#D257EF #C0EF57 #57EF86
monochromatic
#9A12BA #C31FEA #D257EF #E18FF4 #F0C7FA

Accessibility & contrast

On white

3.31
#D257EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#D257EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257EF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257EF#FFFFFF#000000##000000
##D257EF1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F4
Deuteranopia (green-blind)
#6292EB
Tritanopia (blue-blind)
#D2719C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d257ef;
/* rgb */ color: rgb(210, 87, 239);
/* oklch */ color: oklch(67.4% 0.236 319.5);
Tailwind
colors: {
  custom: {
    50: '#e38ef5',
    500: '#d257ef',
    950: '#000000',
  },
}
SCSS
$custom: #d257ef;
$custom-light: #e38ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d257ef",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 288.553,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67419,
    "c": 0.23591,
    "h": 319.5
  },
  "luminance": 0.2675
}

Semantic roles & 50–950 ramp

primary
#D257EF
secondary
#C0ECB6
accent
#DF0630
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D257EF

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

Preview Lab → · Contrast checker → · Palette generator →

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