#DA87F5#DA87F5

#DA87F5 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.0% C 0.174 H 317.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#DA87F5
RGBrgb(218, 135, 245)
HSLhsl(285, 85%, 75%)
HSVhsv(285, 45%, 96%)
CMYKcmyk(11%, 44.9%, 0%, 3.9%)
CIE-LABlab(68.63, 49.49, -42.49)
CIE-LCHlch(68.63, 65.23, 319.35°)
OKLaboklab(74.99% 0.1281 -0.1175)
OKLCHoklch(74.99% 0.174 317.5)
XYZxyz(54.0565, 38.8276, 91.0154)
Luminance0.3883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87F5 #A2F587
analogous
#A387F5 #DA87F5 #F587D9
triadic
#DA87F5 #F5DA87 #87F5DA
tetradic
#DA87F5 #F5A387 #A2F587 #87D9F5
square
#DA87F5 #F5A387 #A2F587 #87D9F5
split-complementary
#DA87F5 #D9F587 #87F5A3
monochromatic
#B716EC #C94FF0 #DA87F5 #EBBFFA #F6E3FD

Accessibility & contrast

On white

2.40
#DA87F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#DA87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87F5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87F5#FFFFFF#000000##000000
##DA87F51.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2F9
Deuteranopia (green-blind)
#8BAAF2
Tritanopia (blue-blind)
#DA96B3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #da87f5;
/* rgb */ color: rgb(218, 135, 245);
/* oklch */ color: oklch(75.0% 0.174 317.5);
Tailwind
colors: {
  custom: {
    50: '#e7acf9',
    500: '#da87f5',
    950: '#000000',
  },
}
SCSS
$custom: #da87f5;
$custom-light: #e7acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#da87f5",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 285.273,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74985,
    "c": 0.17383,
    "h": 317.5
  },
  "luminance": 0.38826
}

Semantic roles & 50–950 ramp

primary
#DA87F5
secondary
#DEF5D6
accent
#E1043B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DA87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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