#CF78CC#CF78CC

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

Color values

HEX#CF78CC
RGBrgb(207, 120, 204)
HSLhsl(302, 48%, 64%)
HSVhsv(302, 42%, 81%)
CMYKcmyk(0%, 42%, 1.4%, 18.8%)
CIE-LABlab(62.56, 46.25, -29.27)
CIE-LCHlch(62.56, 54.74, 327.67°)
OKLaboklab(69.6% 0.1292 -0.0798)
OKLCHoklch(69.6% 0.152 328.3)
XYZxyz(43.3470, 31.0601, 60.8270)
Luminance0.3106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78CC #78CF7B
analogous
#A778CF #CF78CC #CF78A1
triadic
#CF78CC #CCCF78 #78CCCF
tetradic
#CF78CC #CFA778 #78CF7B #78A1CF
square
#CF78CC #CFA778 #78CF7B #78A1CF
split-complementary
#CF78CC #A1CF78 #78CFA7
monochromatic
#973694 #BF4BBB #CF78CC #DFA5DD #EFD2EE

Accessibility & contrast

On white

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

On black

7.21
#CF78CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78CC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78CC#FFFFFF#000000##000000
##CF78CC1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#8A9BC9
Tritanopia (blue-blind)
#D48099
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf78cc;
/* rgb */ color: rgb(207, 120, 204);
/* oklch */ color: oklch(69.6% 0.152 328.3);
Tailwind
colors: {
  custom: {
    50: '#dfa1db',
    500: '#cf78cc',
    950: '#000000',
  },
}
SCSS
$custom: #cf78cc;
$custom-light: #dfa1db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78cc",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 302.069,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69602,
    "c": 0.15184,
    "h": 328.3
  },
  "luminance": 0.31058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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