#CD82F2#CD82F2

#CD82F2 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.7% C 0.173 H 313.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CD82F2
RGBrgb(205, 130, 242)
HSLhsl(280, 81%, 73%)
HSVhsv(280, 46%, 95%)
CMYKcmyk(15.3%, 46.3%, 0%, 5.1%)
CIE-LABlab(66.03, 47.86, -45.03)
CIE-LCHlch(66.03, 65.71, 316.75°)
OKLaboklab(72.68% 0.1194 -0.1251)
OKLCHoklch(72.68% 0.173 313.7)
XYZxyz(49.1838, 35.3564, 88.2207)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82F2 #A7F282
analogous
#9582F2 #CD82F2 #F282DF
triadic
#CD82F2 #F2CD82 #82F2CD
tetradic
#CD82F2 #F29582 #A7F282 #82DFF2
square
#CD82F2 #F29582 #A7F282 #82DFF2
split-complementary
#CD82F2 #DFF282 #82F295
monochromatic
#9F18E2 #B74BEC #CD82F2 #E3B9F8 #F4E3FC

Accessibility & contrast

On white

2.60
#CD82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#CD82F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82F2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82F2#FFFFFF#000000##000000
##CD82F21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#CA93AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd82f2;
/* rgb */ color: rgb(205, 130, 242);
/* oklch */ color: oklch(72.7% 0.173 313.7);
Tailwind
colors: {
  custom: {
    50: '#dea8f7',
    500: '#cd82f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd82f2;
$custom-light: #dea8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82f2",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 280.179,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72681,
    "c": 0.17294,
    "h": 313.7
  },
  "luminance": 0.35355
}

Semantic roles & 50–950 ramp

primary
#CD82F2
secondary
#E1F4D7
accent
#DE084F
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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