#CD82F3#CD82F3

#CD82F3 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.7% C 0.174 H 313.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CD82F3
RGBrgb(205, 130, 243)
HSLhsl(280, 82%, 73%)
HSVhsv(280, 47%, 95%)
CMYKcmyk(15.6%, 46.5%, 0%, 4.7%)
CIE-LABlab(66.07, 48.07, -45.51)
CIE-LCHlch(66.07, 66.19, 316.57°)
OKLaboklab(72.73% 0.1195 -0.1265)
OKLCHoklch(72.73% 0.174 313.4)
XYZxyz(49.3344, 35.4166, 89.0139)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82F3 #A8F382
analogous
#9482F3 #CD82F3 #F382E0
triadic
#CD82F3 #F3CD82 #82F3CD
tetradic
#CD82F3 #F39482 #A8F382 #82E0F3
square
#CD82F3 #F39482 #A8F382 #82E0F3
split-complementary
#CD82F3 #E0F382 #82F394
monochromatic
#9F16E5 #B74AEE #CD82F3 #E3BAF8 #F4E3FC

Accessibility & contrast

On white

2.60
#CD82F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CD82F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82F3
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82F3#FFFFFF#000000##000000
##CD82F31.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF7
Deuteranopia (green-blind)
#7FA2F0
Tritanopia (blue-blind)
#CA93AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd82f3;
/* rgb */ color: rgb(205, 130, 243);
/* oklch */ color: oklch(72.7% 0.174 313.4);
Tailwind
colors: {
  custom: {
    50: '#dea8f7',
    500: '#cd82f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd82f3;
$custom-light: #dea8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82f3",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 243
  },
  "hsl": {
    "h": 279.823,
    "s": 82.482,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72731,
    "c": 0.17404,
    "h": 313.4
  },
  "luminance": 0.35415
}

Semantic roles & 50–950 ramp

primary
#CD82F3
secondary
#E1F4D7
accent
#DF074F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD82F3

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

Preview Lab → · Contrast checker → · Palette generator →

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