#CD80FC#CD80FC

#CD80FC is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.9% C 0.187 H 311.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#CD80FC
RGBrgb(205, 128, 252)
HSLhsl(277, 95%, 75%)
HSVhsv(277, 49%, 99%)
CMYKcmyk(18.7%, 49.2%, 0%, 1.2%)
CIE-LABlab(66.09, 51.01, -50.41)
CIE-LCHlch(66.09, 71.72, 315.34°)
OKLaboklab(72.89% 0.1233 -0.1407)
OKLCHoklch(72.89% 0.187 311.2)
XYZxyz(50.4635, 35.4467, 96.2601)
Luminance0.3545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80FC #AFFC80
analogous
#8F80FC #CD80FC #FC80ED
triadic
#CD80FC #FCCD80 #80FCCD
tetradic
#CD80FC #FC8F80 #AFFC80 #80EDFC
square
#CD80FC #FC8F80 #AFFC80 #80EDFC
split-complementary
#CD80FC #EDFC80 #80FC8F
monochromatic
#9E08F9 #B544FB #CD80FC #E5BCFD #F3E1FE

Accessibility & contrast

On white

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

On black

8.09
#CD80FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80FC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80FC#FFFFFF#000000##000000
##CD80FC1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#C894B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd80fc;
/* rgb */ color: rgb(205, 128, 252);
/* oklch */ color: oklch(72.9% 0.187 311.2);
Tailwind
colors: {
  custom: {
    50: '#dfa7fe',
    500: '#cd80fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd80fc;
$custom-light: #dfa7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80fc",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 277.258,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72889,
    "c": 0.18712,
    "h": 311.2
  },
  "luminance": 0.35446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD80FC

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

Preview Lab → · Contrast checker → · Palette generator →

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