#CD84FB#CD84FB

#CD84FB is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.4% C 0.180 H 311.0°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CD84FB
RGBrgb(205, 132, 251)
HSLhsl(277, 94%, 75%)
HSVhsv(277, 47%, 98%)
CMYKcmyk(18.3%, 47.4%, 0%, 1.6%)
CIE-LABlab(66.86, 48.71, -48.65)
CIE-LCHlch(66.86, 68.85, 315.03°)
OKLaboklab(73.44% 0.1179 -0.1356)
OKLCHoklch(73.44% 0.18 311)
XYZxyz(50.8376, 36.4476, 95.6051)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84FB #B2FB84
analogous
#9284FB #CD84FB #FB84ED
triadic
#CD84FB #FBCD84 #84FBCD
tetradic
#CD84FB #FB9284 #B2FB84 #84EDFB
square
#CD84FB #FB9284 #B2FB84 #84EDFB
split-complementary
#CD84FB #EDFB84 #84FB92
monochromatic
#9D0DF7 #B549F9 #CD84FB #E5BFFD #F3E1FE

Accessibility & contrast

On white

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

On black

8.29
#CD84FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84FB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84FB#FFFFFF#000000##000000
##CD84FB1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd84fb;
/* rgb */ color: rgb(205, 132, 251);
/* oklch */ color: oklch(73.4% 0.180 311.0);
Tailwind
colors: {
  custom: {
    50: '#dea9fd',
    500: '#cd84fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd84fb;
$custom-light: #dea9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84fb",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 276.807,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73442,
    "c": 0.1797,
    "h": 311
  },
  "luminance": 0.36447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD84FB

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

Preview Lab → · Contrast checker → · Palette generator →

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