#D255F2#D255F2

#D255F2 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.4% C 0.241 H 318.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D255F2
RGBrgb(210, 85, 242)
HSLhsl(288, 86%, 64%)
HSVhsv(288, 65%, 95%)
CMYKcmyk(13.2%, 64.9%, 0%, 5.1%)
CIE-LABlab(58.61, 70.53, -56.74)
CIE-LCHlch(58.61, 90.52, 321.19°)
OKLaboklab(67.38% 0.1815 -0.1588)
OKLCHoklch(67.38% 0.241 318.8)
XYZxyz(45.8517, 26.6115, 86.7085)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D255F2 #75F255
analogous
#8455F2 #D255F2 #F255C3
triadic
#D255F2 #F2D255 #55F2D2
tetradic
#D255F2 #F28455 #75F255 #55C3F2
square
#D255F2 #F28455 #75F255 #55C3F2
split-complementary
#D255F2 #C3F255 #55F284
monochromatic
#9A0FBE #C31CEE #D255F2 #E18EF6 #F0C7FB

Accessibility & contrast

On white

3.32
#D255F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D255F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D255F2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D255F2#FFFFFF#000000##000000
##D255F21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F7
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#D2719D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d255f2;
/* rgb */ color: rgb(210, 85, 242);
/* oklch */ color: oklch(67.4% 0.241 318.8);
Tailwind
colors: {
  custom: {
    50: '#e48df7',
    500: '#d255f2',
    950: '#000000',
  },
}
SCSS
$custom: #d255f2;
$custom-light: #e48df7;
$custom-dark: #000000;
JSON
{
  "hex": "#d255f2",
  "rgb": {
    "r": 210,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 287.771,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67378,
    "c": 0.24112,
    "h": 318.8
  },
  "luminance": 0.26609
}

Semantic roles & 50–950 ramp

primary
#D255F2
secondary
#C1EDB6
accent
#E20331
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D255F2

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

Preview Lab → · Contrast checker → · Palette generator →

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