#D254FF#D254FF

#D254FF is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 68.1% C 0.254 H 315.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#D254FF
RGBrgb(210, 84, 255)
HSLhsl(284, 100%, 66%)
HSVhsv(284, 67%, 100%)
CMYKcmyk(17.6%, 67.1%, 0%, 0%)
CIE-LABlab(59.22, 73.39, -62.98)
CIE-LCHlch(59.22, 96.71, 319.37°)
OKLaboklab(68.05% 0.182 -0.177)
OKLCHoklch(68.05% 0.254 315.8)
XYZxyz(47.7958, 27.2641, 97.3331)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254FF #81FF54
analogous
#7D54FF #D254FF #FF54D6
triadic
#D254FF #FFD254 #54FFD2
tetradic
#D254FF #FF7D54 #81FF54 #54D6FF
square
#D254FF #FF7D54 #81FF54 #54D6FF
split-complementary
#D254FF #D6FF54 #54FF7D
monochromatic
#A000D9 #C217FF #D254FF #E291FF #F2CEFF

Accessibility & contrast

On white

3.25
#D254FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#D254FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254FF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254FF#FFFFFF#000000##000000
##D254FF1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#CF76A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d254ff;
/* rgb */ color: rgb(210, 84, 255);
/* oklch */ color: oklch(68.1% 0.254 315.8);
Tailwind
colors: {
  custom: {
    50: '#e48dff',
    500: '#d254ff',
    950: '#000000',
  },
}
SCSS
$custom: #d254ff;
$custom-light: #e48dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d254ff",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 284.211,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68053,
    "c": 0.25387,
    "h": 315.8
  },
  "luminance": 0.27262
}

Semantic roles & 50–950 ramp

primary
#D254FF
secondary
#CAF3BC
accent
#E6003C
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D254FF

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

Preview Lab → · Contrast checker → · Palette generator →

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