#D255F6#D255F6

#D255F6 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.6% C 0.245 H 317.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D255F6
RGBrgb(210, 85, 246)
HSLhsl(287, 90%, 65%)
HSVhsv(287, 65%, 96%)
CMYKcmyk(14.6%, 65.4%, 0%, 3.5%)
CIE-LABlab(58.84, 71.28, -58.60)
CIE-LCHlch(58.84, 92.28, 320.58°)
OKLaboklab(67.61% 0.1813 -0.1642)
OKLCHoklch(67.61% 0.245 317.8)
XYZxyz(46.4591, 26.8544, 89.9071)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D255F6 #79F655
analogous
#8255F6 #D255F6 #F655C9
triadic
#D255F6 #F6D255 #55F6D2
tetradic
#D255F6 #F68255 #79F655 #55C9F6
square
#D255F6 #F68255 #79F655 #55C9F6
split-complementary
#D255F6 #C9F655 #55F682
monochromatic
#9C0AC6 #C31BF3 #D255F6 #E18FF9 #F1C9FC

Accessibility & contrast

On white

3.30
#D255F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D255F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D255F6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D255F6#FFFFFF#000000##000000
##D255F61.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F86FB
Deuteranopia (green-blind)
#5B92F2
Tritanopia (blue-blind)
#D1739F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d255f6;
/* rgb */ color: rgb(210, 85, 246);
/* oklch */ color: oklch(67.6% 0.245 317.8);
Tailwind
colors: {
  custom: {
    50: '#e48dfa',
    500: '#d255f6',
    950: '#000000',
  },
}
SCSS
$custom: #d255f6;
$custom-light: #e48dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d255f6",
  "rgb": {
    "r": 210,
    "g": 85,
    "b": 246
  },
  "hsl": {
    "h": 286.584,
    "s": 89.944,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67613,
    "c": 0.24465,
    "h": 317.8
  },
  "luminance": 0.26852
}

Semantic roles & 50–950 ramp

primary
#D255F6
secondary
#C4EFB8
accent
#E60033
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D255F6

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

Preview Lab → · Contrast checker → · Palette generator →

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