#CD82FC#CD82FC

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

Color values

HEX#CD82FC
RGBrgb(205, 130, 252)
HSLhsl(277, 95%, 75%)
HSVhsv(277, 48%, 99%)
CMYKcmyk(18.7%, 48.4%, 0%, 1.2%)
CIE-LABlab(66.50, 49.97, -49.77)
CIE-LCHlch(66.50, 70.53, 315.12°)
OKLaboklab(73.19% 0.1207 -0.1389)
OKLCHoklch(73.19% 0.184 311)
XYZxyz(50.7270, 35.9736, 96.3479)
Luminance0.3597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82FC #B1FC82
analogous
#9082FC #CD82FC #FC82EE
triadic
#CD82FC #FCCD82 #82FCCD
tetradic
#CD82FC #FC9082 #B1FC82 #82EEFC
square
#CD82FC #FC9082 #B1FC82 #82EEFC
split-complementary
#CD82FC #EEFC82 #82FC90
monochromatic
#9D0AF9 #B546FB #CD82FC #E5BEFD #F3E1FE

Accessibility & contrast

On white

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

On black

8.19
#CD82FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82FC
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82FC#FFFFFF#000000##000000
##CD82FC1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#C896B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd82fc;
/* rgb */ color: rgb(205, 130, 252);
/* oklch */ color: oklch(73.2% 0.184 311.0);
Tailwind
colors: {
  custom: {
    50: '#dea8fe',
    500: '#cd82fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd82fc;
$custom-light: #dea8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82fc",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 276.885,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73189,
    "c": 0.18397,
    "h": 311
  },
  "luminance": 0.35973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD82FC

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

Preview Lab → · Contrast checker → · Palette generator →

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