#CF78EC#CF78EC

#CF78EC is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.1% C 0.184 H 317.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CF78EC
RGBrgb(207, 120, 236)
HSLhsl(285, 75%, 70%)
HSVhsv(285, 49%, 93%)
CMYKcmyk(12.3%, 49.2%, 0%, 7.5%)
CIE-LABlab(63.96, 52.36, -44.95)
CIE-LCHlch(63.96, 69.00, 319.36°)
OKLaboklab(71.11% 0.1346 -0.1248)
OKLCHoklch(71.11% 0.184 317.2)
XYZxyz(47.5867, 32.7560, 83.1564)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78EC #95EC78
analogous
#9578EC #CF78EC #EC78CF
triadic
#CF78EC #ECCF78 #78ECCF
tetradic
#CF78EC #EC9578 #95EC78 #78CFEC
square
#CF78EC #EC9578 #95EC78 #78CFEC
split-complementary
#CF78EC #CFEC78 #78EC95
monochromatic
#A11DCD #BC42E4 #CF78EC #E2AEF4 #F5E3FB

Accessibility & contrast

On white

2.78
#CF78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CF78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78EC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78EC#FFFFFF#000000##000000
##CF78EC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295F0
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#CE89A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf78ec;
/* rgb */ color: rgb(207, 120, 236);
/* oklch */ color: oklch(71.1% 0.184 317.2);
Tailwind
colors: {
  custom: {
    50: '#e0a2f2',
    500: '#cf78ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf78ec;
$custom-light: #e0a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78ec",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 285,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71107,
    "c": 0.18351,
    "h": 317.2
  },
  "luminance": 0.32754
}

Semantic roles & 50–950 ramp

primary
#CF78EC
secondary
#D8F0D0
accent
#D70E40
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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