#D257E9#D257E9

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

Color values

HEX#D257E9
RGBrgb(210, 87, 233)
HSLhsl(291, 77%, 63%)
HSVhsv(291, 63%, 91%)
CMYKcmyk(9.9%, 62.7%, 0%, 8.6%)
CIE-LABlab(58.42, 68.04, -52.03)
CIE-LCHlch(58.42, 85.65, 322.60°)
OKLaboklab(67.08% 0.1793 -0.1451)
OKLCHoklch(67.08% 0.231 321)
XYZxyz(44.6928, 26.4034, 79.8172)
Luminance0.2640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257E9 #6EE957
analogous
#8957E9 #D257E9 #E957B7
triadic
#D257E9 #E9D257 #57E9D2
tetradic
#D257E9 #E98957 #6EE957 #57B7E9
square
#D257E9 #E98957 #6EE957 #57B7E9
split-complementary
#D257E9 #B7E957 #57E989
monochromatic
#9717AF #C421E2 #D257E9 #E08DF0 #EFC3F7

Accessibility & contrast

On white

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

On black

6.28
#D257E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257E9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257E9#FFFFFF#000000##000000
##D257E91.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284ED
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#D46F99
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d257e9;
/* rgb */ color: rgb(210, 87, 233);
/* oklch */ color: oklch(67.1% 0.231 321.0);
Tailwind
colors: {
  custom: {
    50: '#e38ef1',
    500: '#d257e9',
    950: '#000000',
  },
}
SCSS
$custom: #d257e9;
$custom-light: #e38ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d257e9",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 290.548,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67078,
    "c": 0.2306,
    "h": 321
  },
  "luminance": 0.26401
}

Semantic roles & 50–950 ramp

primary
#D257E9
secondary
#BCE8B3
accent
#D90C2D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D257E9

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

Preview Lab → · Contrast checker → · Palette generator →

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