#CF78E8#CF78E8

#CF78E8 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.179 H 318.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CF78E8
RGBrgb(207, 120, 232)
HSLhsl(287, 71%, 69%)
HSVhsv(287, 48%, 91%)
CMYKcmyk(10.8%, 48.3%, 0%, 9%)
CIE-LABlab(63.78, 51.56, -43.02)
CIE-LCHlch(63.78, 67.15, 320.16°)
OKLaboklab(70.91% 0.1341 -0.1192)
OKLCHoklch(70.91% 0.179 318.4)
XYZxyz(47.0121, 32.5262, 80.1300)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78E8 #91E878
analogous
#9778E8 #CF78E8 #E878C9
triadic
#CF78E8 #E8CF78 #78E8CF
tetradic
#CF78E8 #E89778 #91E878 #78C9E8
square
#CF78E8 #E89778 #91E878 #78C9E8
split-complementary
#CF78E8 #C9E878 #78E897
monochromatic
#A021C4 #BC44DF #CF78E8 #E2ACF1 #F4E1FA

Accessibility & contrast

On white

2.80
#CF78E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CF78E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78E8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78E8#FFFFFF#000000##000000
##CF78E81.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495EC
Deuteranopia (green-blind)
#7E9DE5
Tritanopia (blue-blind)
#CF88A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf78e8;
/* rgb */ color: rgb(207, 120, 232);
/* oklch */ color: oklch(70.9% 0.179 318.4);
Tailwind
colors: {
  custom: {
    50: '#e0a1f0',
    500: '#cf78e8',
    950: '#000000',
  },
}
SCSS
$custom: #cf78e8;
$custom-light: #e0a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78e8",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 286.607,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70907,
    "c": 0.1794,
    "h": 318.4
  },
  "luminance": 0.32525
}

Semantic roles & 50–950 ramp

primary
#CF78E8
secondary
#D5EECD
accent
#D3133E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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