#CD78FA#CD78FA

#CD78FA is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.6% C 0.197 H 312.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CD78FA
RGBrgb(205, 120, 250)
HSLhsl(279, 93%, 73%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(18%, 52%, 0%, 2%)
CIE-LABlab(64.42, 54.70, -51.97)
CIE-LCHlch(64.42, 75.45, 316.46°)
OKLaboklab(71.61% 0.1337 -0.1452)
OKLCHoklch(71.61% 0.197 312.6)
XYZxyz(49.1456, 33.3154, 94.2655)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78FA #A5FA78
analogous
#8C78FA #CD78FA #FA78E6
triadic
#CD78FA #FACD78 #78FACD
tetradic
#CD78FA #FA8C78 #A5FA78 #78E6FA
square
#CD78FA #FA8C78 #A5FA78 #78E6FA
split-complementary
#CD78FA #E6FA78 #78FA8C
monochromatic
#9F09EF #B73DF8 #CD78FA #E3B3FC #F4E1FE

Accessibility & contrast

On white

2.74
#CD78FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CD78FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78FA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78FA#FFFFFF#000000##000000
##CD78FA1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#729EF7
Tritanopia (blue-blind)
#C98DAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd78fa;
/* rgb */ color: rgb(205, 120, 250);
/* oklch */ color: oklch(71.6% 0.197 312.6);
Tailwind
colors: {
  custom: {
    50: '#dfa2fc',
    500: '#cd78fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd78fa;
$custom-light: #dfa2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78fa",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 279.231,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71614,
    "c": 0.19735,
    "h": 312.6
  },
  "luminance": 0.33314
}

Semantic roles & 50–950 ramp

primary
#CD78FA
secondary
#E0F6D5
accent
#E6004F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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