#CD82F0#CD82F0

#CD82F0 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.6% C 0.171 H 314.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CD82F0
RGBrgb(205, 130, 240)
HSLhsl(281, 79%, 73%)
HSVhsv(281, 46%, 94%)
CMYKcmyk(14.6%, 45.8%, 0%, 5.9%)
CIE-LABlab(65.93, 47.45, -44.07)
CIE-LCHlch(65.93, 64.76, 317.11°)
OKLaboklab(72.58% 0.1191 -0.1223)
OKLCHoklch(72.58% 0.171 314.2)
XYZxyz(48.8851, 35.2369, 86.6474)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82F0 #A5F082
analogous
#9682F0 #CD82F0 #F082DC
triadic
#CD82F0 #F0CD82 #82F0CD
tetradic
#CD82F0 #F09682 #A5F082 #82DCF0
square
#CD82F0 #F09682 #A5F082 #82DCF0
split-complementary
#CD82F0 #DCF082 #82F096
monochromatic
#9F1BDD #B74BE9 #CD82F0 #E3B9F7 #F4E4FC

Accessibility & contrast

On white

2.61
#CD82F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#CD82F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82F0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82F0#FFFFFF#000000##000000
##CD82F01.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#81A2ED
Tritanopia (blue-blind)
#CA92AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd82f0;
/* rgb */ color: rgb(205, 130, 240);
/* oklch */ color: oklch(72.6% 0.171 314.2);
Tailwind
colors: {
  custom: {
    50: '#dea8f5',
    500: '#cd82f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd82f0;
$custom-light: #dea8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82f0",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 240
  },
  "hsl": {
    "h": 280.909,
    "s": 78.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72582,
    "c": 0.17076,
    "h": 314.2
  },
  "luminance": 0.35236
}

Semantic roles & 50–950 ramp

primary
#CD82F0
secondary
#E0F4D7
accent
#DB0B4D
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD82F0

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

Preview Lab → · Contrast checker → · Palette generator →

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