#CD87FD#CD87FD

#CD87FD is a light, vivid violet. Relative luminance 0.374; OKLCH L 74.0% C 0.177 H 310.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CD87FD
RGBrgb(205, 135, 253)
HSLhsl(276, 97%, 76%)
HSVhsv(276, 47%, 99%)
CMYKcmyk(19%, 46.6%, 0%, 0.8%)
CIE-LABlab(67.58, 47.56, -48.62)
CIE-LCHlch(67.58, 68.01, 314.37°)
OKLaboklab(74.01% 0.1141 -0.1355)
OKLCHoklch(74.01% 0.177 310.1)
XYZxyz(51.5672, 37.3998, 97.4118)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87FD #B7FD87
analogous
#9287FD #CD87FD #FD87F2
triadic
#CD87FD #FDCD87 #87FDCD
tetradic
#CD87FD #FD9287 #B7FD87 #87F2FD
square
#CD87FD #FD9287 #B7FD87 #87F2FD
split-complementary
#CD87FD #F2FD87 #87FD92
monochromatic
#9B0FFB #B44BFC #CD87FD #E6C3FE #F2E1FE

Accessibility & contrast

On white

2.48
#CD87FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CD87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87FD
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87FD#FFFFFF#000000##000000
##CD87FD1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#C79AB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd87fd;
/* rgb */ color: rgb(205, 135, 253);
/* oklch */ color: oklch(74.0% 0.177 310.1);
Tailwind
colors: {
  custom: {
    50: '#deabfe',
    500: '#cd87fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd87fd;
$custom-light: #deabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87fd",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 275.593,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74006,
    "c": 0.17717,
    "h": 310.1
  },
  "luminance": 0.37399
}

Semantic roles & 50–950 ramp

primary
#CD87FD
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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