#CD84F5#CD84F5

#CD84F5 is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.1% C 0.173 H 312.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CD84F5
RGBrgb(205, 132, 245)
HSLhsl(279, 85%, 74%)
HSVhsv(279, 46%, 96%)
CMYKcmyk(16.3%, 46.1%, 0%, 3.9%)
CIE-LABlab(66.58, 47.44, -45.81)
CIE-LCHlch(66.58, 65.95, 316.00°)
OKLaboklab(73.14% 0.1171 -0.1274)
OKLCHoklch(73.14% 0.173 312.6)
XYZxyz(49.9067, 36.0753, 90.7027)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84F5 #ACF584
analogous
#9584F5 #CD84F5 #F584E5
triadic
#CD84F5 #F5CD84 #84F5CD
tetradic
#CD84F5 #F59584 #ACF584 #84E5F5
square
#CD84F5 #F59584 #ACF584 #84E5F5
split-complementary
#CD84F5 #E5F584 #84F595
monochromatic
#9F13EB #B64BF0 #CD84F5 #E4BDFA #F3E3FD

Accessibility & contrast

On white

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

On black

8.21
#CD84F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84F5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84F5#FFFFFF#000000##000000
##CD84F51.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF9
Deuteranopia (green-blind)
#80A4F2
Tritanopia (blue-blind)
#C995B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd84f5;
/* rgb */ color: rgb(205, 132, 245);
/* oklch */ color: oklch(73.1% 0.173 312.6);
Tailwind
colors: {
  custom: {
    50: '#dea9f9',
    500: '#cd84f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd84f5;
$custom-light: #dea9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84f5",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 245
  },
  "hsl": {
    "h": 278.761,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73139,
    "c": 0.17302,
    "h": 312.6
  },
  "luminance": 0.36074
}

Semantic roles & 50–950 ramp

primary
#CD84F5
secondary
#E1F5D6
accent
#E10452
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD84F5

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

Preview Lab → · Contrast checker → · Palette generator →

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