#CD82FA#CD82FA

#CD82FA is a light, vivid violet. Relative luminance 0.358; OKLCH L 73.1% C 0.182 H 311.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CD82FA
RGBrgb(205, 130, 250)
HSLhsl(278, 92%, 75%)
HSVhsv(278, 48%, 98%)
CMYKcmyk(18%, 48%, 0%, 2%)
CIE-LABlab(66.40, 49.55, -48.83)
CIE-LCHlch(66.40, 69.56, 315.42°)
OKLaboklab(73.09% 0.1204 -0.1361)
OKLCHoklch(73.09% 0.182 311.5)
XYZxyz(50.4117, 35.8475, 94.6876)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82FA #AFFA82
analogous
#9182FA #CD82FA #FA82EB
triadic
#CD82FA #FACD82 #82FACD
tetradic
#CD82FA #FA9182 #AFFA82 #82EBFA
square
#CD82FA #FA9182 #AFFA82 #82EBFA
split-complementary
#CD82FA #EBFA82 #82FA91
monochromatic
#9E0CF5 #B547F8 #CD82FA #E5BDFC #F3E2FE

Accessibility & contrast

On white

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

On black

8.17
#CD82FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82FA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82FA#FFFFFF#000000##000000
##CD82FA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#C895B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd82fa;
/* rgb */ color: rgb(205, 130, 250);
/* oklch */ color: oklch(73.1% 0.182 311.5);
Tailwind
colors: {
  custom: {
    50: '#dea8fc',
    500: '#cd82fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd82fa;
$custom-light: #dea8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82fa",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 277.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73086,
    "c": 0.18175,
    "h": 311.5
  },
  "luminance": 0.35847
}

Semantic roles & 50–950 ramp

primary
#CD82FA
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD82FA

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

Preview Lab → · Contrast checker → · Palette generator →

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