#CF78CE#CF78CE

#CF78CE is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.7% C 0.154 H 327.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CF78CE
RGBrgb(207, 120, 206)
HSLhsl(301, 48%, 64%)
HSVhsv(301, 42%, 81%)
CMYKcmyk(0%, 42%, 0.5%, 18.8%)
CIE-LABlab(62.64, 46.62, -30.27)
CIE-LCHlch(62.64, 55.58, 327.00°)
OKLaboklab(69.69% 0.1296 -0.0826)
OKLCHoklch(69.69% 0.154 327.5)
XYZxyz(43.5884, 31.1567, 62.0984)
Luminance0.3115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78CE #78CF79
analogous
#A578CF #CF78CE #CF78A3
triadic
#CF78CE #CECF78 #78CECF
tetradic
#CF78CE #CFA578 #78CF79 #78A3CF
square
#CF78CE #CFA578 #78CF79 #78A3CF
split-complementary
#CF78CE #A3CF78 #78CFA5
monochromatic
#973696 #BF4BBE #CF78CE #DFA5DE #EFD2EF

Accessibility & contrast

On white

2.90
#CF78CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CF78CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78CE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78CE#FFFFFF#000000##000000
##CF78CE1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D1
Deuteranopia (green-blind)
#899CCB
Tritanopia (blue-blind)
#D48099
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf78ce;
/* rgb */ color: rgb(207, 120, 206);
/* oklch */ color: oklch(69.7% 0.154 327.5);
Tailwind
colors: {
  custom: {
    50: '#dfa1dd',
    500: '#cf78ce',
    950: '#000000',
  },
}
SCSS
$custom: #cf78ce;
$custom-light: #dfa1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78ce",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 300.69,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69689,
    "c": 0.15371,
    "h": 327.5
  },
  "luminance": 0.31155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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