#D257F3#D257F3

#D257F3 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.7% C 0.239 H 318.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#D257F3
RGBrgb(210, 87, 243)
HSLhsl(287, 87%, 65%)
HSVhsv(287, 64%, 95%)
CMYKcmyk(13.6%, 64.2%, 0%, 4.7%)
CIE-LABlab(58.97, 69.89, -56.73)
CIE-LCHlch(58.97, 90.02, 320.94°)
OKLaboklab(67.65% 0.1793 -0.1588)
OKLCHoklch(67.65% 0.239 318.5)
XYZxyz(46.1620, 26.9911, 87.5549)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257F3 #78F357
analogous
#8457F3 #D257F3 #F357C6
triadic
#D257F3 #F3D257 #57F3D2
tetradic
#D257F3 #F38457 #78F357 #57C6F3
square
#D257F3 #F38457 #78F357 #57C6F3
split-complementary
#D257F3 #C6F357 #57F384
monochromatic
#9C0EC2 #C31EEF #D257F3 #E190F7 #F1C9FB

Accessibility & contrast

On white

3.28
#D257F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#D257F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257F3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257F3#FFFFFF#000000##000000
##D257F31.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2186F8
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#D2739E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d257f3;
/* rgb */ color: rgb(210, 87, 243);
/* oklch */ color: oklch(67.7% 0.239 318.5);
Tailwind
colors: {
  custom: {
    50: '#e38ef8',
    500: '#d257f3',
    950: '#000000',
  },
}
SCSS
$custom: #d257f3;
$custom-light: #e38ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#d257f3",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 287.308,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6765,
    "c": 0.23946,
    "h": 318.5
  },
  "luminance": 0.26989
}

Semantic roles & 50–950 ramp

primary
#D257F3
secondary
#C3EEB8
accent
#E30232
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D257F3

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

Preview Lab → · Contrast checker → · Palette generator →

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