#CF78EB#CF78EB

#CF78EB is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.1% C 0.182 H 317.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CF78EB
RGBrgb(207, 120, 235)
HSLhsl(285, 74%, 70%)
HSVhsv(285, 49%, 92%)
CMYKcmyk(11.9%, 48.9%, 0%, 7.8%)
CIE-LABlab(63.92, 52.16, -44.47)
CIE-LCHlch(63.92, 68.54, 319.55°)
OKLaboklab(71.06% 0.1344 -0.1234)
OKLCHoklch(71.06% 0.182 317.5)
XYZxyz(47.4419, 32.6981, 82.3934)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78EB #94EB78
analogous
#9578EB #CF78EB #EB78CE
triadic
#CF78EB #EBCF78 #78EBCF
tetradic
#CF78EB #EB9578 #94EB78 #78CEEB
square
#CF78EB #EB9578 #94EB78 #78CEEB
split-complementary
#CF78EB #CEEB78 #78EB95
monochromatic
#A11ECB #BC43E3 #CF78EB #E2ADF3 #F5E3FB

Accessibility & contrast

On white

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

On black

7.54
#CF78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78EB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78EB#FFFFFF#000000##000000
##CF78EB1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf78eb;
/* rgb */ color: rgb(207, 120, 235);
/* oklch */ color: oklch(71.1% 0.182 317.5);
Tailwind
colors: {
  custom: {
    50: '#e0a2f2',
    500: '#cf78eb',
    950: '#000000',
  },
}
SCSS
$custom: #cf78eb;
$custom-light: #e0a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78eb",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 285.391,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71057,
    "c": 0.18248,
    "h": 317.5
  },
  "luminance": 0.32696
}

Semantic roles & 50–950 ramp

primary
#CF78EB
secondary
#D7F0CF
accent
#D60F40
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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