#CD84F9#CD84F9

#CD84F9 is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.3% C 0.177 H 311.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CD84F9
RGBrgb(205, 132, 249)
HSLhsl(277, 91%, 75%)
HSVhsv(277, 47%, 98%)
CMYKcmyk(17.7%, 47%, 0%, 2.4%)
CIE-LABlab(66.77, 48.29, -47.71)
CIE-LCHlch(66.77, 67.88, 315.34°)
OKLaboklab(73.34% 0.1176 -0.1329)
OKLCHoklch(73.34% 0.177 311.5)
XYZxyz(50.5240, 36.3222, 93.9535)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84F9 #B0F984
analogous
#9384F9 #CD84F9 #F984EB
triadic
#CD84F9 #F9CD84 #84F9CD
tetradic
#CD84F9 #F99384 #B0F984 #84EBF9
square
#CD84F9 #F99384 #B0F984 #84EBF9
split-complementary
#CD84F9 #EBF984 #84F993
monochromatic
#9E0FF3 #B54AF6 #CD84F9 #E5BEFC #F3E2FE

Accessibility & contrast

On white

2.54
#CD84F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CD84F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84F9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84F9#FFFFFF#000000##000000
##CD84F91.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#7EA4F6
Tritanopia (blue-blind)
#C896B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd84f9;
/* rgb */ color: rgb(205, 132, 249);
/* oklch */ color: oklch(73.3% 0.177 311.5);
Tailwind
colors: {
  custom: {
    50: '#dea9fc',
    500: '#cd84f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd84f9;
$custom-light: #dea9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84f9",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 277.436,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7334,
    "c": 0.17747,
    "h": 311.5
  },
  "luminance": 0.36321
}

Semantic roles & 50–950 ramp

primary
#CD84F9
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD84F9

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

Preview Lab → · Contrast checker → · Palette generator →

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