#CF78E5#CF78E5

#CF78E5 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.176 H 319.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CF78E5
RGBrgb(207, 120, 229)
HSLhsl(288, 68%, 68%)
HSVhsv(288, 48%, 90%)
CMYKcmyk(9.6%, 47.6%, 0%, 10.2%)
CIE-LABlab(63.64, 50.97, -41.58)
CIE-LCHlch(63.64, 65.78, 320.80°)
OKLaboklab(70.76% 0.1336 -0.115)
OKLCHoklch(70.76% 0.176 319.3)
XYZxyz(46.5896, 32.3572, 77.9049)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78E5 #8EE578
analogous
#9878E5 #CF78E5 #E578C4
triadic
#CF78E5 #E5CF78 #78E5CF
tetradic
#CF78E5 #E59878 #8EE578 #78C4E5
square
#CF78E5 #E59878 #8EE578 #78C4E5
split-complementary
#CF78E5 #C4E578 #78E598
monochromatic
#9F25BE #BD45DB #CF78E5 #E1ABEF #F3DFF9

Accessibility & contrast

On white

2.81
#CF78E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CF78E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78E5
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78E5#FFFFFF#000000##000000
##CF78E51.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E9
Deuteranopia (green-blind)
#7F9DE2
Tritanopia (blue-blind)
#D087A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf78e5;
/* rgb */ color: rgb(207, 120, 229);
/* oklch */ color: oklch(70.8% 0.176 319.3);
Tailwind
colors: {
  custom: {
    50: '#e0a1ed',
    500: '#cf78e5',
    950: '#000000',
  },
}
SCSS
$custom: #cf78e5;
$custom-light: #e0a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78e5",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 287.89,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70759,
    "c": 0.17633,
    "h": 319.3
  },
  "luminance": 0.32355
}

Semantic roles & 50–950 ramp

primary
#CF78E5
secondary
#D3EDCC
accent
#D0163B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF78E5

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

Preview Lab → · Contrast checker → · Palette generator →

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