#CD84F3#CD84F3

#CD84F3 is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.0% C 0.171 H 313.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#CD84F3
RGBrgb(205, 132, 243)
HSLhsl(279, 82%, 74%)
HSVhsv(279, 46%, 95%)
CMYKcmyk(15.6%, 45.7%, 0%, 4.7%)
CIE-LABlab(66.48, 47.02, -44.86)
CIE-LCHlch(66.48, 64.98, 316.35°)
OKLaboklab(73.04% 0.1168 -0.1246)
OKLCHoklch(73.04% 0.171 313.1)
XYZxyz(49.6031, 35.9538, 89.1034)
Luminance0.3595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84F3 #AAF384
analogous
#9584F3 #CD84F3 #F384E2
triadic
#CD84F3 #F3CD84 #84F3CD
tetradic
#CD84F3 #F39584 #AAF384 #84E2F3
square
#CD84F3 #F39584 #AAF384 #84E2F3
split-complementary
#CD84F3 #E2F384 #84F395
monochromatic
#9F16E6 #B64CEE #CD84F3 #E4BCF8 #F4E3FC

Accessibility & contrast

On white

2.56
#CD84F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#CD84F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84F3
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84F3#FFFFFF#000000##000000
##CD84F31.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF7
Deuteranopia (green-blind)
#81A3F0
Tritanopia (blue-blind)
#CA95B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd84f3;
/* rgb */ color: rgb(205, 132, 243);
/* oklch */ color: oklch(73.0% 0.171 313.1);
Tailwind
colors: {
  custom: {
    50: '#dea9f7',
    500: '#cd84f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd84f3;
$custom-light: #dea9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84f3",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 243
  },
  "hsl": {
    "h": 279.459,
    "s": 82.222,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73039,
    "c": 0.1708,
    "h": 313.1
  },
  "luminance": 0.35953
}

Semantic roles & 50–950 ramp

primary
#CD84F3
secondary
#E1F4D7
accent
#DF0751
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD84F3

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

Preview Lab → · Contrast checker → · Palette generator →

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