#CD84FC#CD84FC

#CD84FC is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.5% C 0.181 H 310.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CD84FC
RGBrgb(205, 132, 252)
HSLhsl(277, 95%, 75%)
HSVhsv(277, 48%, 99%)
CMYKcmyk(18.7%, 47.6%, 0%, 1.2%)
CIE-LABlab(66.91, 48.92, -49.12)
CIE-LCHlch(66.91, 69.33, 314.88°)
OKLaboklab(73.49% 0.118 -0.137)
OKLCHoklch(73.49% 0.181 310.7)
XYZxyz(50.9956, 36.5109, 96.4375)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84FC #B3FC84
analogous
#9184FC #CD84FC #FC84EF
triadic
#CD84FC #FCCD84 #84FCCD
tetradic
#CD84FC #FC9184 #B3FC84 #84EFFC
square
#CD84FC #FC9184 #B3FC84 #84EFFC
split-complementary
#CD84FC #EFFC84 #84FC91
monochromatic
#9C0DF9 #B548FB #CD84FC #E5C0FD #F3E1FE

Accessibility & contrast

On white

2.53
#CD84FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CD84FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84FC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84FC#FFFFFF#000000##000000
##CD84FC1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#7CA4F9
Tritanopia (blue-blind)
#C897B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd84fc;
/* rgb */ color: rgb(205, 132, 252);
/* oklch */ color: oklch(73.5% 0.181 310.7);
Tailwind
colors: {
  custom: {
    50: '#dea9fe',
    500: '#cd84fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd84fc;
$custom-light: #dea9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84fc",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 276.5,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73493,
    "c": 0.1808,
    "h": 310.7
  },
  "luminance": 0.3651
}

Semantic roles & 50–950 ramp

primary
#CD84FC
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD84FC

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

Preview Lab → · Contrast checker → · Palette generator →

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