#CF78CF#CF78CF

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

Color values

HEX#CF78CF
RGBrgb(207, 120, 207)
HSLhsl(300, 48%, 64%)
HSVhsv(300, 42%, 81%)
CMYKcmyk(0%, 42%, 0%, 18.8%)
CIE-LABlab(62.68, 46.80, -30.77)
CIE-LCHlch(62.68, 56.01, 326.67°)
OKLaboklab(69.73% 0.1298 -0.0841)
OKLCHoklch(69.73% 0.155 327.1)
XYZxyz(43.7103, 31.2054, 62.7402)
Luminance0.3120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78CF #78CF78
analogous
#A478CF #CF78CF #CF78A4
triadic
#CF78CF #CFCF78 #78CFCF
tetradic
#CF78CF #CFA478 #78CF78 #78A4CF
square
#CF78CF #CFA478 #78CF78 #78A4CF
split-complementary
#CF78CF #A4CF78 #78CFA4
monochromatic
#973697 #BF4BBF #CF78CF #DFA5DF #EFD2EF

Accessibility & contrast

On white

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

On black

7.24
#CF78CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78CF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78CF#FFFFFF#000000##000000
##CF78CF1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7191D2
Deuteranopia (green-blind)
#899CCC
Tritanopia (blue-blind)
#D4819A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf78cf;
/* rgb */ color: rgb(207, 120, 207);
/* oklch */ color: oklch(69.7% 0.155 327.1);
Tailwind
colors: {
  custom: {
    50: '#dfa1de',
    500: '#cf78cf',
    950: '#000000',
  },
}
SCSS
$custom: #cf78cf;
$custom-light: #dfa1de;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78cf",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69733,
    "c": 0.15465,
    "h": 327.1
  },
  "luminance": 0.31203
}

Semantic roles & 50–950 ramp

primary
#CF78CF
secondary
#C2E1C2
accent
#BB2B2B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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