#CF78E4#CF78E4

#CF78E4 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.7% C 0.175 H 319.6°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CF78E4
RGBrgb(207, 120, 228)
HSLhsl(288, 67%, 68%)
HSVhsv(288, 47%, 89%)
CMYKcmyk(9.2%, 47.4%, 0%, 10.6%)
CIE-LABlab(63.59, 50.77, -41.09)
CIE-LCHlch(63.59, 65.32, 321.02°)
OKLaboklab(70.71% 0.1335 -0.1136)
OKLCHoklch(70.71% 0.175 319.6)
XYZxyz(46.4504, 32.3015, 77.1717)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78E4 #8DE478
analogous
#9978E4 #CF78E4 #E478C3
triadic
#CF78E4 #E4CF78 #78E4CF
tetradic
#CF78E4 #E49978 #8DE478 #78C3E4
square
#CF78E4 #E49978 #8DE478 #78C3E4
split-complementary
#CF78E4 #C3E478 #78E499
monochromatic
#9F26BC #BD45DA #CF78E4 #E1ABEE #F3DEF8

Accessibility & contrast

On white

2.82
#CF78E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CF78E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78E4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78E4#FFFFFF#000000##000000
##CF78E41.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E8
Deuteranopia (green-blind)
#7F9DE1
Tritanopia (blue-blind)
#D087A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf78e4;
/* rgb */ color: rgb(207, 120, 228);
/* oklch */ color: oklch(70.7% 0.175 319.6);
Tailwind
colors: {
  custom: {
    50: '#e0a1ed',
    500: '#cf78e4',
    950: '#000000',
  },
}
SCSS
$custom: #cf78e4;
$custom-light: #e0a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78e4",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 288.333,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7071,
    "c": 0.17531,
    "h": 319.6
  },
  "luminance": 0.323
}

Semantic roles & 50–950 ramp

primary
#CF78E4
secondary
#D2ECCC
accent
#CF173B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF78E4

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

Preview Lab → · Contrast checker → · Palette generator →

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