#CD82FD#CD82FD

#CD82FD is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.2% C 0.185 H 310.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CD82FD
RGBrgb(205, 130, 253)
HSLhsl(277, 97%, 75%)
HSVhsv(277, 49%, 99%)
CMYKcmyk(19%, 48.6%, 0%, 0.8%)
CIE-LABlab(66.55, 50.19, -50.24)
CIE-LCHlch(66.55, 71.01, 314.97°)
OKLaboklab(73.24% 0.1208 -0.1402)
OKLCHoklch(73.24% 0.185 310.7)
XYZxyz(50.8859, 36.0372, 97.1847)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82FD #B2FD82
analogous
#8F82FD #CD82FD #FD82F0
triadic
#CD82FD #FDCD82 #82FDCD
tetradic
#CD82FD #FD8F82 #B2FD82 #82F0FD
square
#CD82FD #FD8F82 #B2FD82 #82F0FD
split-complementary
#CD82FD #F0FD82 #82FD8F
monochromatic
#9D0AFB #B546FC #CD82FD #E5BEFE #F3E1FF

Accessibility & contrast

On white

2.56
#CD82FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#CD82FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82FD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82FD#FFFFFF#000000##000000
##CD82FD1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd82fd;
/* rgb */ color: rgb(205, 130, 253);
/* oklch */ color: oklch(73.2% 0.185 310.7);
Tailwind
colors: {
  custom: {
    50: '#dea8fe',
    500: '#cd82fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd82fd;
$custom-light: #dea8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82fd",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 276.585,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73241,
    "c": 0.18508,
    "h": 310.7
  },
  "luminance": 0.36036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD82FD

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

Preview Lab → · Contrast checker → · Palette generator →

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