#CD78F9#CD78F9

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

Color values

HEX#CD78F9
RGBrgb(205, 120, 249)
HSLhsl(280, 91%, 72%)
HSVhsv(280, 52%, 98%)
CMYKcmyk(17.7%, 51.8%, 0%, 2.4%)
CIE-LABlab(64.37, 54.49, -51.50)
CIE-LCHlch(64.37, 74.97, 316.62°)
OKLaboklab(71.56% 0.1336 -0.1438)
OKLCHoklch(71.56% 0.196 312.9)
XYZxyz(48.9893, 33.2528, 93.4419)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78F9 #A4F978
analogous
#8D78F9 #CD78F9 #F978E4
triadic
#CD78F9 #F9CD78 #78F9CD
tetradic
#CD78F9 #F98D78 #A4F978 #78E4F9
square
#CD78F9 #F98D78 #A4F978 #78E4F9
split-complementary
#CD78F9 #E4F978 #78F98D
monochromatic
#9F0AEC #B73DF6 #CD78F9 #E3B3FC #F4E2FE

Accessibility & contrast

On white

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

On black

7.65
#CD78F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78F9
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78F9#FFFFFF#000000##000000
##CD78F91.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FD
Deuteranopia (green-blind)
#739EF6
Tritanopia (blue-blind)
#C98DAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd78f9;
/* rgb */ color: rgb(205, 120, 249);
/* oklch */ color: oklch(71.6% 0.196 312.9);
Tailwind
colors: {
  custom: {
    50: '#dfa2fc',
    500: '#cd78f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd78f9;
$custom-light: #dfa2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78f9",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 279.535,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7156,
    "c": 0.1963,
    "h": 312.9
  },
  "luminance": 0.33252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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