#CF78ED#CF78ED

#CF78ED is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.2% C 0.185 H 316.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CF78ED
RGBrgb(207, 120, 237)
HSLhsl(285, 76%, 70%)
HSVhsv(285, 49%, 93%)
CMYKcmyk(12.7%, 49.4%, 0%, 7.1%)
CIE-LABlab(64.01, 52.56, -45.43)
CIE-LCHlch(64.01, 69.47, 319.16°)
OKLaboklab(71.16% 0.1347 -0.1262)
OKLCHoklch(71.16% 0.185 316.9)
XYZxyz(47.7324, 32.8143, 83.9237)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78ED #96ED78
analogous
#9478ED #CF78ED #ED78D1
triadic
#CF78ED #EDCF78 #78EDCF
tetradic
#CF78ED #ED9478 #96ED78 #78D1ED
square
#CF78ED #ED9478 #96ED78 #78D1ED
split-complementary
#CF78ED #D1ED78 #78ED94
monochromatic
#A11CCF #BC42E6 #CF78ED #E2AEF4 #F5E4FB

Accessibility & contrast

On white

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

On black

7.56
#CF78ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78ED
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78ED#FFFFFF#000000##000000
##CF78ED1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#CE89A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf78ed;
/* rgb */ color: rgb(207, 120, 237);
/* oklch */ color: oklch(71.2% 0.185 316.9);
Tailwind
colors: {
  custom: {
    50: '#e0a2f3',
    500: '#cf78ed',
    950: '#000000',
  },
}
SCSS
$custom: #cf78ed;
$custom-light: #e0a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78ed",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 284.615,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.71158,
    "c": 0.18455,
    "h": 316.9
  },
  "luminance": 0.32813
}

Semantic roles & 50–950 ramp

primary
#CF78ED
secondary
#D8F1D0
accent
#D90D41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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