#CD82FB#CD82FB

#CD82FB is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.1% C 0.183 H 311.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CD82FB
RGBrgb(205, 130, 251)
HSLhsl(277, 94%, 75%)
HSVhsv(277, 48%, 98%)
CMYKcmyk(18.3%, 48.2%, 0%, 1.6%)
CIE-LABlab(66.45, 49.76, -49.30)
CIE-LCHlch(66.45, 70.04, 315.27°)
OKLaboklab(73.14% 0.1206 -0.1375)
OKLCHoklch(73.14% 0.183 311.2)
XYZxyz(50.5689, 35.9104, 95.5156)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82FB #B0FB82
analogous
#9182FB #CD82FB #FB82ED
triadic
#CD82FB #FBCD82 #82FBCD
tetradic
#CD82FB #FB9182 #B0FB82 #82EDFB
square
#CD82FB #FB9182 #B0FB82 #82EDFB
split-complementary
#CD82FB #EDFB82 #82FB91
monochromatic
#9E0BF7 #B547F9 #CD82FB #E5BDFD #F3E1FE

Accessibility & contrast

On white

2.57
#CD82FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#CD82FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82FB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82FB#FFFFFF#000000##000000
##CD82FB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#C895B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd82fb;
/* rgb */ color: rgb(205, 130, 251);
/* oklch */ color: oklch(73.1% 0.183 311.2);
Tailwind
colors: {
  custom: {
    50: '#dea8fd',
    500: '#cd82fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd82fb;
$custom-light: #dea8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82fb",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 277.19,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73138,
    "c": 0.18286,
    "h": 311.2
  },
  "luminance": 0.35909
}

Semantic roles & 50–950 ramp

primary
#CD82FB
secondary
#E1F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD82FB

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

Preview Lab → · Contrast checker → · Palette generator →

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