#CD82FE#CD82FE

#CD82FE is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.3% C 0.186 H 310.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#CD82FE
RGBrgb(205, 130, 254)
HSLhsl(276, 98%, 75%)
HSVhsv(276, 49%, 100%)
CMYKcmyk(19.3%, 48.8%, 0%, 0.4%)
CIE-LABlab(66.60, 50.40, -50.71)
CIE-LCHlch(66.60, 71.50, 314.82°)
OKLaboklab(73.29% 0.1209 -0.1416)
OKLCHoklch(73.29% 0.186 310.5)
XYZxyz(51.0456, 36.1011, 98.0259)
Luminance0.3610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82FE #B3FE82
analogous
#8F82FE #CD82FE #FE82F1
triadic
#CD82FE #FECD82 #82FECD
tetradic
#CD82FE #FE8F82 #B3FE82 #82F1FE
square
#CD82FE #FE8F82 #B3FE82 #82F1FE
split-complementary
#CD82FE #F1FE82 #82FE8F
monochromatic
#9C09FD #B545FE #CD82FE #E5BFFE #F3E1FF

Accessibility & contrast

On white

2.55
#CD82FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#CD82FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82FE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82FE#FFFFFF#000000##000000
##CD82FE1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#79A3FB
Tritanopia (blue-blind)
#C796B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd82fe;
/* rgb */ color: rgb(205, 130, 254);
/* oklch */ color: oklch(73.3% 0.186 310.5);
Tailwind
colors: {
  custom: {
    50: '#dfa8ff',
    500: '#cd82fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd82fe;
$custom-light: #dfa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82fe",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 276.29,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73293,
    "c": 0.18618,
    "h": 310.5
  },
  "luminance": 0.361
}

Semantic roles & 50–950 ramp

primary
#CD82FE
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD82FE

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

Preview Lab → · Contrast checker → · Palette generator →

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