#CD84FE#CD84FE

#CD84FE is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.6% C 0.183 H 310.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CD84FE
RGBrgb(205, 132, 254)
HSLhsl(276, 98%, 76%)
HSVhsv(276, 48%, 100%)
CMYKcmyk(19.3%, 48%, 0%, 0.4%)
CIE-LABlab(67.00, 49.35, -50.07)
CIE-LCHlch(67.00, 70.30, 314.59°)
OKLaboklab(73.6% 0.1182 -0.1397)
OKLCHoklch(73.6% 0.183 310.2)
XYZxyz(51.3142, 36.6383, 98.1154)
Luminance0.3664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84FE #B5FE84
analogous
#9084FE #CD84FE #FE84F2
triadic
#CD84FE #FECD84 #84FECD
tetradic
#CD84FE #FE9084 #B5FE84 #84F2FE
square
#CD84FE #FE9084 #B5FE84 #84F2FE
split-complementary
#CD84FE #F2FE84 #84FE90
monochromatic
#9C0BFD #B447FE #CD84FE #E6C1FE #F3E1FF

Accessibility & contrast

On white

2.52
#CD84FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#CD84FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84FE
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84FE#FFFFFF#000000##000000
##CD84FE1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#7BA4FB
Tritanopia (blue-blind)
#C798B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd84fe;
/* rgb */ color: rgb(205, 132, 254);
/* oklch */ color: oklch(73.6% 0.183 310.2);
Tailwind
colors: {
  custom: {
    50: '#dea9ff',
    500: '#cd84fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd84fe;
$custom-light: #dea9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84fe",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 275.902,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73596,
    "c": 0.18304,
    "h": 310.2
  },
  "luminance": 0.36637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD84FE

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

Preview Lab → · Contrast checker → · Palette generator →

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