#CD78FB#CD78FB

#CD78FB is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.7% C 0.198 H 312.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CD78FB
RGBrgb(205, 120, 251)
HSLhsl(279, 94%, 73%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(18.3%, 52.2%, 0%, 1.6%)
CIE-LABlab(64.47, 54.91, -52.44)
CIE-LCHlch(64.47, 75.92, 316.32°)
OKLaboklab(71.67% 0.1337 -0.1466)
OKLCHoklch(71.67% 0.198 312.4)
XYZxyz(49.3029, 33.3783, 95.0935)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78FB #A6FB78
analogous
#8B78FB #CD78FB #FB78E8
triadic
#CD78FB #FBCD78 #78FBCD
tetradic
#CD78FB #FB8B78 #A6FB78 #78E8FB
square
#CD78FB #FB8B78 #A6FB78 #78E8FB
split-complementary
#CD78FB #E8FB78 #78FB8B
monochromatic
#9F07F1 #B73DF9 #CD78FB #E3B3FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.68
#CD78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78FB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78FB#FFFFFF#000000##000000
##CD78FB1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#C88EAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd78fb;
/* rgb */ color: rgb(205, 120, 251);
/* oklch */ color: oklch(71.7% 0.198 312.4);
Tailwind
colors: {
  custom: {
    50: '#dfa2fd',
    500: '#cd78fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd78fb;
$custom-light: #dfa2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78fb",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 278.931,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71668,
    "c": 0.19842,
    "h": 312.4
  },
  "luminance": 0.33377
}

Semantic roles & 50–950 ramp

primary
#CD78FB
secondary
#E0F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CD78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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