#CD80FB#CD80FB

#CD80FB is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.8% C 0.186 H 311.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CD80FB
RGBrgb(205, 128, 251)
HSLhsl(278, 94%, 74%)
HSVhsv(278, 49%, 98%)
CMYKcmyk(18.3%, 49%, 0%, 1.6%)
CIE-LABlab(66.05, 50.80, -49.94)
CIE-LCHlch(66.05, 71.24, 315.49°)
OKLaboklab(72.84% 0.1232 -0.1393)
OKLCHoklch(72.84% 0.186 311.5)
XYZxyz(50.3055, 35.3835, 95.4277)
Luminance0.3538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80FB #AEFB80
analogous
#9080FB #CD80FB #FB80EC
triadic
#CD80FB #FBCD80 #80FBCD
tetradic
#CD80FB #FB9080 #AEFB80 #80ECFB
square
#CD80FB #FB9080 #AEFB80 #80ECFB
split-complementary
#CD80FB #ECFB80 #80FB90
monochromatic
#9E09F7 #B645F9 #CD80FB #E4BBFD #F3E1FE

Accessibility & contrast

On white

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

On black

8.08
#CD80FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80FB
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80FB#FFFFFF#000000##000000
##CD80FB1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#C894B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd80fb;
/* rgb */ color: rgb(205, 128, 251);
/* oklch */ color: oklch(72.8% 0.186 311.5);
Tailwind
colors: {
  custom: {
    50: '#dea7fd',
    500: '#cd80fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd80fb;
$custom-light: #dea7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80fb",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 277.561,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72837,
    "c": 0.18601,
    "h": 311.5
  },
  "luminance": 0.35383
}

Semantic roles & 50–950 ramp

primary
#CD80FB
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD80FB

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

Preview Lab → · Contrast checker → · Palette generator →

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