#CF78EE#CF78EE

#CF78EE is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.2% C 0.186 H 316.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CF78EE
RGBrgb(207, 120, 238)
HSLhsl(284, 78%, 70%)
HSVhsv(284, 50%, 93%)
CMYKcmyk(13%, 49.6%, 0%, 6.7%)
CIE-LABlab(64.06, 52.76, -45.90)
CIE-LCHlch(64.06, 69.93, 318.98°)
OKLaboklab(71.21% 0.1348 -0.1275)
OKLCHoklch(71.21% 0.186 316.6)
XYZxyz(47.8789, 32.8729, 84.6953)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78EE #97EE78
analogous
#9478EE #CF78EE #EE78D2
triadic
#CF78EE #EECF78 #78EECF
tetradic
#CF78EE #EE9478 #97EE78 #78D2EE
square
#CF78EE #EE9478 #97EE78 #78D2EE
split-complementary
#CF78EE #D2EE78 #78EE94
monochromatic
#A11AD1 #BC42E7 #CF78EE #E2AEF5 #F5E4FC

Accessibility & contrast

On white

2.77
#CF78EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CF78EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78EE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78EE#FFFFFF#000000##000000
##CF78EE1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#CE89A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf78ee;
/* rgb */ color: rgb(207, 120, 238);
/* oklch */ color: oklch(71.2% 0.186 316.6);
Tailwind
colors: {
  custom: {
    50: '#e0a2f4',
    500: '#cf78ee',
    950: '#000000',
  },
}
SCSS
$custom: #cf78ee;
$custom-light: #e0a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78ee",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 284.237,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71208,
    "c": 0.18558,
    "h": 316.6
  },
  "luminance": 0.32871
}

Semantic roles & 50–950 ramp

primary
#CF78EE
secondary
#D9F1D1
accent
#DA0C42
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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