#D255EB#D255EB

#D255EB is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.235 H 320.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#D255EB
RGBrgb(210, 85, 235)
HSLhsl(290, 79%, 63%)
HSVhsv(290, 64%, 92%)
CMYKcmyk(10.6%, 63.8%, 0%, 7.8%)
CIE-LABlab(58.23, 69.24, -53.45)
CIE-LCHlch(58.23, 87.47, 322.33°)
OKLaboklab(66.97% 0.1815 -0.1492)
OKLCHoklch(66.97% 0.235 320.6)
XYZxyz(44.8205, 26.1990, 81.2772)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D255EB #6EEB55
analogous
#8755EB #D255EB #EB55B9
triadic
#D255EB #EBD255 #55EBD2
tetradic
#D255EB #EB8755 #6EEB55 #55B9EB
square
#D255EB #EB8755 #6EEB55 #55B9EB
split-complementary
#D255EB #B9EB55 #55EB87
monochromatic
#9715B1 #C41EE5 #D255EB #E08CF1 #EFC3F8

Accessibility & contrast

On white

3.37
#D255EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#D255EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D255EB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D255EB#FFFFFF#000000##000000
##D255EB1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EF
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#D36E99
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d255eb;
/* rgb */ color: rgb(210, 85, 235);
/* oklch */ color: oklch(67.0% 0.235 320.6);
Tailwind
colors: {
  custom: {
    50: '#e38df2',
    500: '#d255eb',
    950: '#000000',
  },
}
SCSS
$custom: #d255eb;
$custom-light: #e38df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d255eb",
  "rgb": {
    "r": 210,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 290,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66973,
    "c": 0.23496,
    "h": 320.6
  },
  "luminance": 0.26197
}

Semantic roles & 50–950 ramp

primary
#D255EB
secondary
#BCE9B3
accent
#DB0A2D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D255EB

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

Preview Lab → · Contrast checker → · Palette generator →

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