#D255F8#D255F8

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

Color values

HEX#D255F8
RGBrgb(210, 85, 248)
HSLhsl(286, 92%, 65%)
HSVhsv(286, 66%, 97%)
CMYKcmyk(15.3%, 65.7%, 0%, 2.7%)
CIE-LABlab(58.95, 71.66, -59.53)
CIE-LCHlch(58.95, 93.16, 320.28°)
OKLaboklab(67.73% 0.1813 -0.1669)
OKLCHoklch(67.73% 0.246 317.4)
XYZxyz(46.7677, 26.9779, 91.5325)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D255F8 #7BF855
analogous
#8055F8 #D255F8 #F855CD
triadic
#D255F8 #F8D255 #55F8D2
tetradic
#D255F8 #F88055 #7BF855 #55CDF8
square
#D255F8 #F88055 #7BF855 #55CDF8
split-complementary
#D255F8 #CDF855 #55F880
monochromatic
#9D08CA #C21AF6 #D255F8 #E290FA #F1CBFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D255F8#FFFFFF#000000##000000
##D255F81.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)
#0586FD
Deuteranopia (green-blind)
#5992F4
Tritanopia (blue-blind)
#D173A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d255f8;
/* rgb */ color: rgb(210, 85, 248);
/* oklch */ color: oklch(67.7% 0.246 317.4);
Tailwind
colors: {
  custom: {
    50: '#e48dfb',
    500: '#d255f8',
    950: '#000000',
  },
}
SCSS
$custom: #d255f8;
$custom-light: #e48dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d255f8",
  "rgb": {
    "r": 210,
    "g": 85,
    "b": 248
  },
  "hsl": {
    "h": 286.012,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67732,
    "c": 0.24643,
    "h": 317.4
  },
  "luminance": 0.26976
}

Semantic roles & 50–950 ramp

primary
#D255F8
secondary
#C6F0B9
accent
#E60036
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D255F8

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

Preview Lab → · Contrast checker → · Palette generator →

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