#CD84F0#CD84F0

#CD84F0 is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.9% C 0.168 H 314.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CD84F0
RGBrgb(205, 132, 240)
HSLhsl(281, 78%, 73%)
HSVhsv(281, 45%, 94%)
CMYKcmyk(14.6%, 45%, 0%, 5.9%)
CIE-LABlab(66.35, 46.39, -43.42)
CIE-LCHlch(66.35, 63.54, 316.89°)
OKLaboklab(72.89% 0.1164 -0.1205)
OKLCHoklch(72.89% 0.168 314)
XYZxyz(49.1537, 35.7741, 86.7369)
Luminance0.3577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84F0 #A7F084
analogous
#9784F0 #CD84F0 #F084DD
triadic
#CD84F0 #F0CD84 #84F0CD
tetradic
#CD84F0 #F09784 #A7F084 #84DDF0
square
#CD84F0 #F09784 #A7F084 #84DDF0
split-complementary
#CD84F0 #DDF084 #84F097
monochromatic
#9F1BDE #B74DE9 #CD84F0 #E3BBF7 #F4E4FC

Accessibility & contrast

On white

2.58
#CD84F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#CD84F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84F0
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84F0#FFFFFF#000000##000000
##CD84F01.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF4
Deuteranopia (green-blind)
#82A3ED
Tritanopia (blue-blind)
#CA94AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd84f0;
/* rgb */ color: rgb(205, 132, 240);
/* oklch */ color: oklch(72.9% 0.168 314.0);
Tailwind
colors: {
  custom: {
    50: '#dea9f5',
    500: '#cd84f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd84f0;
$custom-light: #dea9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84f0",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 240
  },
  "hsl": {
    "h": 280.556,
    "s": 78.261,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72891,
    "c": 0.1675,
    "h": 314
  },
  "luminance": 0.35773
}

Semantic roles & 50–950 ramp

primary
#CD84F0
secondary
#E1F3D8
accent
#DB0B4E
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD84F0

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

Preview Lab → · Contrast checker → · Palette generator →

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