#CD80FA#CD80FA

#CD80FA is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.8% C 0.185 H 311.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CD80FA
RGBrgb(205, 128, 250)
HSLhsl(278, 92%, 74%)
HSVhsv(278, 49%, 98%)
CMYKcmyk(18%, 48.8%, 0%, 2%)
CIE-LABlab(66.00, 50.59, -49.47)
CIE-LCHlch(66.00, 70.75, 315.64°)
OKLaboklab(72.79% 0.1231 -0.138)
OKLCHoklch(72.79% 0.185 311.7)
XYZxyz(50.1483, 35.3206, 94.5998)
Luminance0.3532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80FA #ADFA80
analogous
#9080FA #CD80FA #FA80EA
triadic
#CD80FA #FACD80 #80FACD
tetradic
#CD80FA #FA9080 #ADFA80 #80EAFA
square
#CD80FA #FA9080 #ADFA80 #80EAFA
split-complementary
#CD80FA #EAFA80 #80FA90
monochromatic
#9F0AF5 #B645F8 #CD80FA #E4BBFC #F3E2FE

Accessibility & contrast

On white

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

On black

8.06
#CD80FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80FA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80FA#FFFFFF#000000##000000
##CD80FA1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#C894B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd80fa;
/* rgb */ color: rgb(205, 128, 250);
/* oklch */ color: oklch(72.8% 0.185 311.7);
Tailwind
colors: {
  custom: {
    50: '#dea7fc',
    500: '#cd80fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd80fa;
$custom-light: #dea7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80fa",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 277.869,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72785,
    "c": 0.18492,
    "h": 311.7
  },
  "luminance": 0.3532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD80FA

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

Preview Lab → · Contrast checker → · Palette generator →

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