#CD80F6#CD80F6

#CD80F6 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.6% C 0.181 H 312.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#CD80F6
RGBrgb(205, 128, 246)
HSLhsl(279, 87%, 73%)
HSVhsv(279, 48%, 96%)
CMYKcmyk(16.7%, 48%, 0%, 3.5%)
CIE-LABlab(65.81, 49.74, -47.58)
CIE-LCHlch(65.81, 68.83, 316.28°)
OKLaboklab(72.58% 0.1227 -0.1325)
OKLCHoklch(72.58% 0.181 312.8)
XYZxyz(49.5277, 35.0724, 91.3315)
Luminance0.3507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80F6 #A9F680
analogous
#9280F6 #CD80F6 #F680E4
triadic
#CD80F6 #F6CD80 #80F6CD
tetradic
#CD80F6 #F69280 #A9F680 #80E4F6
square
#CD80F6 #F69280 #A9F680 #80E4F6
split-complementary
#CD80F6 #E4F680 #80F692
monochromatic
#9F11EB #B747F2 #CD80F6 #E3B9FA #F4E2FD

Accessibility & contrast

On white

2.62
#CD80F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#CD80F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80F6
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80F6#FFFFFF#000000##000000
##CD80F61.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFA
Deuteranopia (green-blind)
#7CA2F3
Tritanopia (blue-blind)
#C992B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd80f6;
/* rgb */ color: rgb(205, 128, 246);
/* oklch */ color: oklch(72.6% 0.181 312.8);
Tailwind
colors: {
  custom: {
    50: '#dea7f9',
    500: '#cd80f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd80f6;
$custom-light: #dea7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80f6",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 246
  },
  "hsl": {
    "h": 279.153,
    "s": 86.765,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72579,
    "c": 0.18054,
    "h": 312.8
  },
  "luminance": 0.35071
}

Semantic roles & 50–950 ramp

primary
#CD80F6
secondary
#E1F5D6
accent
#E30250
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD80F6

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

Preview Lab → · Contrast checker → · Palette generator →

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