#CD80F2#CD80F2

#CD80F2 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.4% C 0.176 H 313.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CD80F2
RGBrgb(205, 128, 242)
HSLhsl(281, 81%, 73%)
HSVhsv(281, 47%, 95%)
CMYKcmyk(15.3%, 47.1%, 0%, 5.1%)
CIE-LABlab(65.62, 48.91, -45.67)
CIE-LCHlch(65.62, 66.92, 316.96°)
OKLaboklab(72.38% 0.1221 -0.127)
OKLCHoklch(72.38% 0.176 313.9)
XYZxyz(48.9204, 34.8295, 88.1329)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80F2 #A5F280
analogous
#9480F2 #CD80F2 #F280DE
triadic
#CD80F2 #F2CD80 #80F2CD
tetradic
#CD80F2 #F29480 #A5F280 #80DEF2
square
#CD80F2 #F29480 #A5F280 #80DEF2
split-complementary
#CD80F2 #DEF280 #80F294
monochromatic
#9F17E1 #B748EC #CD80F2 #E3B8F8 #F4E3FC

Accessibility & contrast

On white

2.64
#CD80F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CD80F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80F2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80F2#FFFFFF#000000##000000
##CD80F21.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#7EA1EF
Tritanopia (blue-blind)
#CA91AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd80f2;
/* rgb */ color: rgb(205, 128, 242);
/* oklch */ color: oklch(72.4% 0.176 313.9);
Tailwind
colors: {
  custom: {
    50: '#dea7f7',
    500: '#cd80f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd80f2;
$custom-light: #dea7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80f2",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 280.526,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72376,
    "c": 0.17618,
    "h": 313.9
  },
  "luminance": 0.34828
}

Semantic roles & 50–950 ramp

primary
#CD80F2
secondary
#E0F4D7
accent
#DE084D
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD80F2

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

Preview Lab → · Contrast checker → · Palette generator →

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