#CF78DF#CF78DF

#CF78DF is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.5% C 0.170 H 321.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CF78DF
RGBrgb(207, 120, 223)
HSLhsl(291, 62%, 67%)
HSVhsv(291, 46%, 87%)
CMYKcmyk(7.2%, 46.2%, 0%, 12.5%)
CIE-LABlab(63.37, 49.80, -38.66)
CIE-LCHlch(63.37, 63.05, 322.18°)
OKLaboklab(70.47% 0.1327 -0.1066)
OKLCHoklch(70.47% 0.17 321.2)
XYZxyz(45.7663, 32.0279, 73.5690)
Luminance0.3203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78DF #88DF78
analogous
#9C78DF #CF78DF #DF78BB
triadic
#CF78DF #DFCF78 #78DFCF
tetradic
#CF78DF #DF9C78 #88DF78 #78BBDF
square
#CF78DF #DF9C78 #88DF78 #78BBDF
split-complementary
#CF78DF #BBDF78 #78DF9C
monochromatic
#9D2AB2 #BD47D3 #CF78DF #E1A9EB #F2DBF6

Accessibility & contrast

On white

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

On black

7.41
#CF78DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78DF
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78DF#FFFFFF#000000##000000
##CF78DF1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6993E3
Deuteranopia (green-blind)
#829DDC
Tritanopia (blue-blind)
#D185A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf78df;
/* rgb */ color: rgb(207, 120, 223);
/* oklch */ color: oklch(70.5% 0.170 321.2);
Tailwind
colors: {
  custom: {
    50: '#dfa1e9',
    500: '#cf78df',
    950: '#000000',
  },
}
SCSS
$custom: #cf78df;
$custom-light: #dfa1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78df",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 290.68,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70469,
    "c": 0.17026,
    "h": 321.2
  },
  "luminance": 0.32026
}

Semantic roles & 50–950 ramp

primary
#CF78DF
secondary
#CEEAC9
accent
#C91C37
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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