#CF78EA#CF78EA

#CF78EA is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.0% C 0.181 H 317.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CF78EA
RGBrgb(207, 120, 234)
HSLhsl(286, 73%, 69%)
HSVhsv(286, 49%, 92%)
CMYKcmyk(11.5%, 48.7%, 0%, 8.2%)
CIE-LABlab(63.87, 51.96, -43.99)
CIE-LCHlch(63.87, 68.08, 319.75°)
OKLaboklab(71.01% 0.1343 -0.122)
OKLCHoklch(71.01% 0.181 317.8)
XYZxyz(47.2978, 32.6404, 81.6347)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78EA #93EA78
analogous
#9678EA #CF78EA #EA78CC
triadic
#CF78EA #EACF78 #78EACF
tetradic
#CF78EA #EA9678 #93EA78 #78CCEA
square
#CF78EA #EA9678 #93EA78 #78CCEA
split-complementary
#CF78EA #CCEA78 #78EA96
monochromatic
#A01FC8 #BC43E2 #CF78EA #E2ADF2 #F5E2FA

Accessibility & contrast

On white

2.79
#CF78EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CF78EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78EA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78EA#FFFFFF#000000##000000
##CF78EA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#7C9EE7
Tritanopia (blue-blind)
#CF88A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf78ea;
/* rgb */ color: rgb(207, 120, 234);
/* oklch */ color: oklch(71.0% 0.181 317.8);
Tailwind
colors: {
  custom: {
    50: '#e0a2f1',
    500: '#cf78ea',
    950: '#000000',
  },
}
SCSS
$custom: #cf78ea;
$custom-light: #e0a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78ea",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 285.789,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71007,
    "c": 0.18145,
    "h": 317.8
  },
  "luminance": 0.32639
}

Semantic roles & 50–950 ramp

primary
#CF78EA
secondary
#D6EFCE
accent
#D5103F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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