#CF78CD#CF78CD

#CF78CD is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.6% C 0.153 H 327.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CF78CD
RGBrgb(207, 120, 205)
HSLhsl(301, 48%, 64%)
HSVhsv(301, 42%, 81%)
CMYKcmyk(0%, 42%, 1%, 18.8%)
CIE-LABlab(62.60, 46.43, -29.77)
CIE-LCHlch(62.60, 55.16, 327.33°)
OKLaboklab(69.65% 0.1294 -0.0812)
OKLCHoklch(69.65% 0.153 327.9)
XYZxyz(43.4673, 31.1082, 61.4607)
Luminance0.3111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78CD #78CF7A
analogous
#A678CF #CF78CD #CF78A2
triadic
#CF78CD #CDCF78 #78CDCF
tetradic
#CF78CD #CFA678 #78CF7A #78A2CF
square
#CF78CD #CFA678 #78CF7A #78A2CF
split-complementary
#CF78CD #A2CF78 #78CFA6
monochromatic
#973695 #BF4BBC #CF78CD #DFA5DE #EFD2EE

Accessibility & contrast

On white

2.91
#CF78CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CF78CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78CD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78CD#FFFFFF#000000##000000
##CF78CD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290D0
Deuteranopia (green-blind)
#899BCA
Tritanopia (blue-blind)
#D48099
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf78cd;
/* rgb */ color: rgb(207, 120, 205);
/* oklch */ color: oklch(69.6% 0.153 327.9);
Tailwind
colors: {
  custom: {
    50: '#dfa1dc',
    500: '#cf78cd',
    950: '#000000',
  },
}
SCSS
$custom: #cf78cd;
$custom-light: #dfa1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78cd",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 301.379,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69645,
    "c": 0.15277,
    "h": 327.9
  },
  "luminance": 0.31106
}

Semantic roles & 50–950 ramp

primary
#CF78CD
secondary
#C2E1C3
accent
#BB2E2B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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