#CD82FF#CD82FF

#CD82FF is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.3% C 0.187 H 310.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#CD82FF
RGBrgb(205, 130, 255)
HSLhsl(276, 100%, 75%)
HSVhsv(276, 49%, 100%)
CMYKcmyk(19.6%, 49%, 0%, 0%)
CIE-LABlab(66.65, 50.61, -51.18)
CIE-LCHlch(66.65, 71.98, 314.68°)
OKLaboklab(73.35% 0.121 -0.143)
OKLCHoklch(73.35% 0.187 310.2)
XYZxyz(51.2061, 36.1653, 98.8714)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82FF #B4FF82
analogous
#8E82FF #CD82FF #FF82F2
triadic
#CD82FF #FFCD82 #82FFCD
tetradic
#CD82FF #FF8E82 #B4FF82 #82F2FF
square
#CD82FF #FF8E82 #B4FF82 #82F2FF
split-complementary
#CD82FF #F2FF82 #82FF8E
monochromatic
#9C08FF #B545FF #CD82FF #E5BFFF #F3E0FF

Accessibility & contrast

On white

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

On black

8.23
#CD82FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82FF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82FF#FFFFFF#000000##000000
##CD82FF1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629FFF
Deuteranopia (green-blind)
#78A3FC
Tritanopia (blue-blind)
#C797B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd82ff;
/* rgb */ color: rgb(205, 130, 255);
/* oklch */ color: oklch(73.3% 0.187 310.2);
Tailwind
colors: {
  custom: {
    50: '#dfa8ff',
    500: '#cd82ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd82ff;
$custom-light: #dfa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82ff",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 255
  },
  "hsl": {
    "h": 276,
    "s": 100,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73346,
    "c": 0.1873,
    "h": 310.2
  },
  "luminance": 0.36164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD82FF

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

Preview Lab → · Contrast checker → · Palette generator →

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