#CF78EF#CF78EF

#CF78EF is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.3% C 0.187 H 316.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CF78EF
RGBrgb(207, 120, 239)
HSLhsl(284, 79%, 70%)
HSVhsv(284, 50%, 94%)
CMYKcmyk(13.4%, 49.8%, 0%, 6.3%)
CIE-LABlab(64.11, 52.96, -46.38)
CIE-LCHlch(64.11, 70.40, 318.79°)
OKLaboklab(71.26% 0.1349 -0.1289)
OKLCHoklch(71.26% 0.187 316.3)
XYZxyz(48.0263, 32.9318, 85.4712)
Luminance0.3293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78EF #98EF78
analogous
#9478EF #CF78EF #EF78D3
triadic
#CF78EF #EFCF78 #78EFCF
tetradic
#CF78EF #EF9478 #98EF78 #78D3EF
square
#CF78EF #EF9478 #98EF78 #78D3EF
split-complementary
#CF78EF #D3EF78 #78EF94
monochromatic
#A119D4 #BC41E9 #CF78EF #E2AFF5 #F5E4FC

Accessibility & contrast

On white

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

On black

7.59
#CF78EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78EF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78EF#FFFFFF#000000##000000
##CF78EF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#CE8AA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf78ef;
/* rgb */ color: rgb(207, 120, 239);
/* oklch */ color: oklch(71.3% 0.187 316.3);
Tailwind
colors: {
  custom: {
    50: '#e0a2f5',
    500: '#cf78ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf78ef;
$custom-light: #e0a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78ef",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 283.866,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71259,
    "c": 0.18662,
    "h": 316.3
  },
  "luminance": 0.3293
}

Semantic roles & 50–950 ramp

primary
#CF78EF
secondary
#DAF2D1
accent
#DB0A43
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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