#D257FF#D257FF

#D257FF is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.4% C 0.250 H 315.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#D257FF
RGBrgb(210, 87, 255)
HSLhsl(284, 100%, 67%)
HSVhsv(284, 66%, 100%)
CMYKcmyk(17.6%, 65.9%, 0%, 0%)
CIE-LABlab(59.65, 72.18, -62.28)
CIE-LCHlch(59.65, 95.33, 319.21°)
OKLaboklab(68.36% 0.1788 -0.175)
OKLCHoklch(68.36% 0.25 315.6)
XYZxyz(48.0337, 27.7398, 97.4124)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257FF #84FF57
analogous
#7E57FF #D257FF #FF57D8
triadic
#D257FF #FFD257 #57FFD2
tetradic
#D257FF #FF7E57 #84FF57 #57D8FF
square
#D257FF #FF7E57 #84FF57 #57D8FF
split-complementary
#D257FF #D8FF57 #57FF7E
monochromatic
#A100DC #C21AFF #D257FF #E294FF #F3D1FF

Accessibility & contrast

On white

3.21
#D257FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#D257FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257FF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257FF#FFFFFF#000000##000000
##D257FF1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#5593FB
Tritanopia (blue-blind)
#CF77A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d257ff;
/* rgb */ color: rgb(210, 87, 255);
/* oklch */ color: oklch(68.4% 0.250 315.6);
Tailwind
colors: {
  custom: {
    50: '#e48fff',
    500: '#d257ff',
    950: '#000000',
  },
}
SCSS
$custom: #d257ff;
$custom-light: #e48fff;
$custom-dark: #000000;
JSON
{
  "hex": "#d257ff",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 283.929,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68365,
    "c": 0.25023,
    "h": 315.6
  },
  "luminance": 0.27738
}

Semantic roles & 50–950 ramp

primary
#D257FF
secondary
#CDF4BE
accent
#E6003D
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D257FF

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

Preview Lab → · Contrast checker → · Palette generator →

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