#CD80FE#CD80FE

#CD80FE is a light, vivid violet. Relative luminance 0.356; OKLCH L 73.0% C 0.189 H 310.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#CD80FE
RGBrgb(205, 128, 254)
HSLhsl(277, 98%, 75%)
HSVhsv(277, 50%, 100%)
CMYKcmyk(19.3%, 49.6%, 0%, 0.4%)
CIE-LABlab(66.19, 51.44, -51.35)
CIE-LCHlch(66.19, 72.68, 315.05°)
OKLaboklab(72.99% 0.1236 -0.1434)
OKLCHoklch(72.99% 0.189 310.7)
XYZxyz(50.7821, 35.5742, 97.9380)
Luminance0.3557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80FE #B1FE80
analogous
#8E80FE #CD80FE #FE80F0
triadic
#CD80FE #FECD80 #80FECD
tetradic
#CD80FE #FE8E80 #B1FE80 #80F0FE
square
#CD80FE #FE8E80 #B1FE80 #80F0FE
split-complementary
#CD80FE #F0FE80 #80FE8E
monochromatic
#9D07FD #B543FE #CD80FE #E5BDFE #F3E1FF

Accessibility & contrast

On white

2.59
#CD80FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#CD80FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80FE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80FE#FFFFFF#000000##000000
##CD80FE1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#C795B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd80fe;
/* rgb */ color: rgb(205, 128, 254);
/* oklch */ color: oklch(73.0% 0.189 310.7);
Tailwind
colors: {
  custom: {
    50: '#dfa7ff',
    500: '#cd80fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd80fe;
$custom-light: #dfa7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80fe",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 254
  },
  "hsl": {
    "h": 276.667,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72994,
    "c": 0.18931,
    "h": 310.7
  },
  "luminance": 0.35573
}

Semantic roles & 50–950 ramp

primary
#CD80FE
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD80FE

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

Preview Lab → · Contrast checker → · Palette generator →

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