#CF78DE#CF78DE

#CF78DE is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.169 H 321.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CF78DE
RGBrgb(207, 120, 222)
HSLhsl(291, 61%, 67%)
HSVhsv(291, 46%, 87%)
CMYKcmyk(6.8%, 45.9%, 0%, 12.9%)
CIE-LABlab(63.32, 49.61, -38.17)
CIE-LCHlch(63.32, 62.60, 322.42°)
OKLaboklab(70.42% 0.1326 -0.1052)
OKLCHoklch(70.42% 0.169 321.6)
XYZxyz(45.6319, 31.9741, 72.8610)
Luminance0.3197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78DE #87DE78
analogous
#9C78DE #CF78DE #DE78BA
triadic
#CF78DE #DECF78 #78DECF
tetradic
#CF78DE #DE9C78 #87DE78 #78BADE
square
#CF78DE #DE9C78 #87DE78 #78BADE
split-complementary
#CF78DE #BADE78 #78DE9C
monochromatic
#9D2BB0 #BE47D2 #CF78DE #E0A9EA #F2DAF6

Accessibility & contrast

On white

2.84
#CF78DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CF78DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78DE
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78DE#FFFFFF#000000##000000
##CF78DE1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E2
Deuteranopia (green-blind)
#829DDB
Tritanopia (blue-blind)
#D185A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf78de;
/* rgb */ color: rgb(207, 120, 222);
/* oklch */ color: oklch(70.4% 0.169 321.6);
Tailwind
colors: {
  custom: {
    50: '#dfa1e8',
    500: '#cf78de',
    950: '#000000',
  },
}
SCSS
$custom: #cf78de;
$custom-light: #dfa1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78de",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 291.176,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70421,
    "c": 0.16926,
    "h": 321.6
  },
  "luminance": 0.31972
}

Semantic roles & 50–950 ramp

primary
#CF78DE
secondary
#CDE9C9
accent
#C81D36
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF78DE

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

Preview Lab → · Contrast checker → · Palette generator →

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