#D285F2#D285F2

#D285F2 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.7% C 0.170 H 315.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#D285F2
RGBrgb(210, 133, 242)
HSLhsl(282, 81%, 74%)
HSVhsv(282, 45%, 95%)
CMYKcmyk(13.2%, 45%, 0%, 5.1%)
CIE-LABlab(67.19, 47.68, -43.16)
CIE-LCHlch(67.19, 64.31, 317.85°)
OKLaboklab(73.68% 0.1211 -0.1196)
OKLCHoklch(73.68% 0.17 315.4)
XYZxyz(50.9904, 36.8889, 88.4214)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D285F2 #A5F285
analogous
#9B85F2 #D285F2 #F285DC
triadic
#D285F2 #F2D285 #85F2D2
tetradic
#D285F2 #F29B85 #A5F285 #85DCF2
square
#D285F2 #F29B85 #A5F285 #85DCF2
split-complementary
#D285F2 #DCF285 #85F29B
monochromatic
#A818E4 #BE4EEC #D285F2 #E6BCF8 #F5E3FC

Accessibility & contrast

On white

2.51
#D285F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#D285F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D285F2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D285F2#FFFFFF#000000##000000
##D285F21.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#85A6EF
Tritanopia (blue-blind)
#D095B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d285f2;
/* rgb */ color: rgb(210, 133, 242);
/* oklch */ color: oklch(73.7% 0.170 315.4);
Tailwind
colors: {
  custom: {
    50: '#e1aaf7',
    500: '#d285f2',
    950: '#000000',
  },
}
SCSS
$custom: #d285f2;
$custom-light: #e1aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d285f2",
  "rgb": {
    "r": 210,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 282.385,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73675,
    "c": 0.17022,
    "h": 315.4
  },
  "luminance": 0.36888
}

Semantic roles & 50–950 ramp

primary
#D285F2
secondary
#E0F4D7
accent
#DD0847
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D285F2

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

Preview Lab → · Contrast checker → · Palette generator →

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