#CD78FF#CD78FF

#CD78FF is a light, highly saturated violet. Relative luminance 0.336; OKLCH L 71.9% C 0.203 H 311.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CD78FF
RGBrgb(205, 120, 255)
HSLhsl(278, 100%, 74%)
HSVhsv(278, 53%, 100%)
CMYKcmyk(19.6%, 52.9%, 0%, 0%)
CIE-LABlab(64.67, 55.75, -54.31)
CIE-LCHlch(64.67, 77.83, 315.75°)
OKLaboklab(71.88% 0.134 -0.152)
OKLCHoklch(71.88% 0.203 311.4)
XYZxyz(49.9401, 33.6331, 98.4494)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78FF #AAFF78
analogous
#8978FF #CD78FF #FF78ED
triadic
#CD78FF #FFCD78 #78FFCD
tetradic
#CD78FF #FF8978 #AAFF78 #78EDFF
square
#CD78FF #FF8978 #AAFF78 #78EDFF
split-complementary
#CD78FF #EDFF78 #78FF89
monochromatic
#9F00FD #B63BFF #CD78FF #E4B5FF #F4E0FF

Accessibility & contrast

On white

2.72
#CD78FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CD78FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78FF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78FF#FFFFFF#000000##000000
##CD78FF1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5399FF
Deuteranopia (green-blind)
#6F9FFC
Tritanopia (blue-blind)
#C78FB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd78ff;
/* rgb */ color: rgb(205, 120, 255);
/* oklch */ color: oklch(71.9% 0.203 311.4);
Tailwind
colors: {
  custom: {
    50: '#dfa2ff',
    500: '#cd78ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd78ff;
$custom-light: #dfa2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78ff",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 277.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71884,
    "c": 0.20268,
    "h": 311.4
  },
  "luminance": 0.33632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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