#CD78FD#CD78FD

#CD78FD is a light, highly saturated violet. Relative luminance 0.335; OKLCH L 71.8% C 0.201 H 311.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CD78FD
RGBrgb(205, 120, 253)
HSLhsl(278, 97%, 73%)
HSVhsv(278, 53%, 99%)
CMYKcmyk(19%, 52.6%, 0%, 0.8%)
CIE-LABlab(64.57, 55.33, -53.38)
CIE-LCHlch(64.57, 76.88, 316.03°)
OKLaboklab(71.78% 0.1339 -0.1493)
OKLCHoklch(71.78% 0.201 311.9)
XYZxyz(49.6198, 33.5050, 96.7627)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78FD #A8FD78
analogous
#8A78FD #CD78FD #FD78EA
triadic
#CD78FD #FDCD78 #78FDCD
tetradic
#CD78FD #FD8A78 #A8FD78 #78EAFD
square
#CD78FD #FD8A78 #A8FD78 #78EAFD
split-complementary
#CD78FD #EAFD78 #78FD8A
monochromatic
#9F04F7 #B73CFC #CD78FD #E3B4FE #F4E1FF

Accessibility & contrast

On white

2.73
#CD78FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CD78FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78FD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78FD#FFFFFF#000000##000000
##CD78FD1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#709EFA
Tritanopia (blue-blind)
#C88EAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd78fd;
/* rgb */ color: rgb(205, 120, 253);
/* oklch */ color: oklch(71.8% 0.201 311.9);
Tailwind
colors: {
  custom: {
    50: '#dfa2fe',
    500: '#cd78fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd78fd;
$custom-light: #dfa2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78fd",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 278.346,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71776,
    "c": 0.20055,
    "h": 311.9
  },
  "luminance": 0.33504
}

Semantic roles & 50–950 ramp

primary
#CD78FD
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CD78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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