#D255E2#D255E2

#D255E2 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.227 H 323.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#D255E2
RGBrgb(210, 85, 226)
HSLhsl(293, 71%, 61%)
HSVhsv(293, 62%, 89%)
CMYKcmyk(7.1%, 62.4%, 0%, 11.4%)
CIE-LABlab(57.74, 67.62, -49.17)
CIE-LCHlch(57.74, 83.60, 323.97°)
OKLaboklab(66.47% 0.1814 -0.1367)
OKLCHoklch(66.47% 0.227 323)
XYZxyz(43.5530, 25.6920, 74.6017)
Luminance0.2569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D255E2 #65E255
analogous
#8B55E2 #D255E2 #E255AC
triadic
#D255E2 #E2D255 #55E2D2
tetradic
#D255E2 #E28B55 #65E255 #55ACE2
square
#D255E2 #E28B55 #65E255 #55ACE2
split-complementary
#D255E2 #ACE255 #55E28B
monochromatic
#921BA1 #C124D5 #D255E2 #E089EB #EEBEF4

Accessibility & contrast

On white

3.42
#D255E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#D255E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D255E2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D255E2#FFFFFF#000000##000000
##D255E21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#6990DE
Tritanopia (blue-blind)
#D56B94
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d255e2;
/* rgb */ color: rgb(210, 85, 226);
/* oklch */ color: oklch(66.5% 0.227 323.0);
Tailwind
colors: {
  custom: {
    50: '#e38dec',
    500: '#d255e2',
    950: '#000000',
  },
}
SCSS
$custom: #d255e2;
$custom-light: #e38dec;
$custom-dark: #000000;
JSON
{
  "hex": "#d255e2",
  "rgb": {
    "r": 210,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 293.191,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66469,
    "c": 0.22716,
    "h": 323
  },
  "luminance": 0.2569
}

Semantic roles & 50–950 ramp

primary
#D255E2
secondary
#B5E4AF
accent
#D31328
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D255E2

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

Preview Lab → · Contrast checker → · Palette generator →

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