#CD80F8#CD80F8

#CD80F8 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.7% C 0.183 H 312.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CD80F8
RGBrgb(205, 128, 248)
HSLhsl(279, 90%, 74%)
HSVhsv(279, 48%, 97%)
CMYKcmyk(17.3%, 48.4%, 0%, 2.7%)
CIE-LABlab(65.90, 50.17, -48.52)
CIE-LCHlch(65.90, 69.79, 315.95°)
OKLaboklab(72.68% 0.1229 -0.1352)
OKLCHoklch(72.68% 0.183 312.3)
XYZxyz(49.8363, 35.1959, 92.9569)
Luminance0.3519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD80F8 #ABF880
analogous
#9180F8 #CD80F8 #F880E7
triadic
#CD80F8 #F8CD80 #80F8CD
tetradic
#CD80F8 #F89180 #ABF880 #80E7F8
square
#CD80F8 #F89180 #ABF880 #80E7F8
split-complementary
#CD80F8 #E7F880 #80F891
monochromatic
#9F0DF0 #B646F5 #CD80F8 #E4BAFB #F4E2FD

Accessibility & contrast

On white

2.61
#CD80F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CD80F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD80F8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD80F8#FFFFFF#000000##000000
##CD80F81.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#C993B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd80f8;
/* rgb */ color: rgb(205, 128, 248);
/* oklch */ color: oklch(72.7% 0.183 312.3);
Tailwind
colors: {
  custom: {
    50: '#dea7fb',
    500: '#cd80f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd80f8;
$custom-light: #dea7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd80f8",
  "rgb": {
    "r": 205,
    "g": 128,
    "b": 248
  },
  "hsl": {
    "h": 278.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72681,
    "c": 0.18273,
    "h": 312.3
  },
  "luminance": 0.35195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD80F8

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

Preview Lab → · Contrast checker → · Palette generator →

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