#D257EA#D257EA

#D257EA is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.1% C 0.231 H 320.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#D257EA
RGBrgb(210, 87, 234)
HSLhsl(290, 78%, 63%)
HSVhsv(290, 63%, 92%)
CMYKcmyk(10.3%, 62.8%, 0%, 8.2%)
CIE-LABlab(58.47, 68.23, -52.50)
CIE-LCHlch(58.47, 86.09, 322.42°)
OKLaboklab(67.13% 0.1793 -0.1464)
OKLCHoklch(67.13% 0.231 320.8)
XYZxyz(44.8361, 26.4607, 80.5717)
Luminance0.2646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257EA #6FEA57
analogous
#8857EA #D257EA #EA57B8
triadic
#D257EA #EAD257 #57EAD2
tetradic
#D257EA #EA8857 #6FEA57 #57B8EA
square
#D257EA #EA8857 #6FEA57 #57B8EA
split-complementary
#D257EA #B8EA57 #57EA88
monochromatic
#9716B1 #C321E3 #D257EA #E18DF1 #EFC4F8

Accessibility & contrast

On white

3.34
#D257EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#D257EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257EA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257EA#FFFFFF#000000##000000
##D257EA1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EE
Deuteranopia (green-blind)
#6591E6
Tritanopia (blue-blind)
#D36F99
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d257ea;
/* rgb */ color: rgb(210, 87, 234);
/* oklch */ color: oklch(67.1% 0.231 320.8);
Tailwind
colors: {
  custom: {
    50: '#e38ef1',
    500: '#d257ea',
    950: '#000000',
  },
}
SCSS
$custom: #d257ea;
$custom-light: #e38ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d257ea",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 290.204,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67134,
    "c": 0.23148,
    "h": 320.8
  },
  "luminance": 0.26459
}

Semantic roles & 50–950 ramp

primary
#D257EA
secondary
#BDE9B4
accent
#DA0B2D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D257EA

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

Preview Lab → · Contrast checker → · Palette generator →

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