#D255E7#D255E7

#D255E7 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.7% C 0.231 H 321.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#D255E7
RGBrgb(210, 85, 231)
HSLhsl(291, 75%, 62%)
HSVhsv(291, 63%, 91%)
CMYKcmyk(9.1%, 63.2%, 0%, 9.4%)
CIE-LABlab(58.01, 68.51, -51.56)
CIE-LCHlch(58.01, 85.75, 323.04°)
OKLaboklab(66.75% 0.1815 -0.1437)
OKLCHoklch(66.75% 0.231 321.6)
XYZxyz(44.2491, 25.9704, 78.2679)
Luminance0.2597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D255E7 #6AE755
analogous
#8955E7 #D255E7 #E755B3
triadic
#D255E7 #E7D255 #55E7D2
tetradic
#D255E7 #E78955 #6AE755 #55B3E7
square
#D255E7 #E78955 #6AE755 #55B3E7
split-complementary
#D255E7 #B3E755 #55E789
monochromatic
#9518AA #C420DF #D255E7 #E08BEF #EEC0F6

Accessibility & contrast

On white

3.39
#D255E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#D255E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D255E7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D255E7#FFFFFF#000000##000000
##D255E71.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#D46D97
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d255e7;
/* rgb */ color: rgb(210, 85, 231);
/* oklch */ color: oklch(66.7% 0.231 321.6);
Tailwind
colors: {
  custom: {
    50: '#e38def',
    500: '#d255e7',
    950: '#000000',
  },
}
SCSS
$custom: #d255e7;
$custom-light: #e38def;
$custom-dark: #000000;
JSON
{
  "hex": "#d255e7",
  "rgb": {
    "r": 210,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 291.37,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66747,
    "c": 0.23148,
    "h": 321.6
  },
  "luminance": 0.25968
}

Semantic roles & 50–950 ramp

primary
#D255E7
secondary
#B9E7B1
accent
#D70E2B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D255E7

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

Preview Lab → · Contrast checker → · Palette generator →

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