#CF78FC#CF78FC

#CF78FC is a light, highly saturated violet. Relative luminance 0.337; OKLCH L 71.9% C 0.200 H 312.9°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CF78FC
RGBrgb(207, 120, 252)
HSLhsl(280, 96%, 73%)
HSVhsv(280, 52%, 99%)
CMYKcmyk(17.9%, 52.4%, 0%, 1.2%)
CIE-LABlab(64.75, 55.63, -52.53)
CIE-LCHlch(64.75, 76.51, 316.64°)
OKLaboklab(71.94% 0.1362 -0.1468)
OKLCHoklch(71.94% 0.2 312.9)
XYZxyz(50.0163, 33.7278, 95.9519)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78FC #A5FC78
analogous
#8D78FC #CF78FC #FC78E7
triadic
#CF78FC #FCCF78 #78FCCF
tetradic
#CF78FC #FC8D78 #A5FC78 #78E7FC
square
#CF78FC #FC8D78 #A5FC78 #78E7FC
split-complementary
#CF78FC #E7FC78 #78FC8D
monochromatic
#A305F4 #BA3CFB #CF78FC #E4B4FD #F4E1FE

Accessibility & contrast

On white

2.71
#CF78FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CF78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78FC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78FC#FFFFFF#000000##000000
##CF78FC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#CB8EAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf78fc;
/* rgb */ color: rgb(207, 120, 252);
/* oklch */ color: oklch(71.9% 0.200 312.9);
Tailwind
colors: {
  custom: {
    50: '#e0a2fe',
    500: '#cf78fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf78fc;
$custom-light: #e0a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78fc",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 279.545,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71941,
    "c": 0.20023,
    "h": 312.9
  },
  "luminance": 0.33727
}

Semantic roles & 50–950 ramp

primary
#CF78FC
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CF78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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