#CF78FD#CF78FD

#CF78FD is a light, highly saturated violet. Relative luminance 0.338; OKLCH L 72.0% C 0.201 H 312.6°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CF78FD
RGBrgb(207, 120, 253)
HSLhsl(279, 97%, 73%)
HSVhsv(279, 53%, 99%)
CMYKcmyk(18.2%, 52.6%, 0%, 0.8%)
CIE-LABlab(64.80, 55.84, -53.00)
CIE-LCHlch(64.80, 76.98, 316.49°)
OKLaboklab(71.99% 0.1363 -0.1482)
OKLCHoklch(71.99% 0.201 312.6)
XYZxyz(50.1752, 33.7914, 96.7887)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78FD #A6FD78
analogous
#8C78FD #CF78FD #FD78E8
triadic
#CF78FD #FDCF78 #78FDCF
tetradic
#CF78FD #FD8C78 #A6FD78 #78E8FD
square
#CF78FD #FD8C78 #A6FD78 #78E8FD
split-complementary
#CF78FD #E8FD78 #78FD8C
monochromatic
#A304F7 #BA3CFC #CF78FD #E4B4FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.76
#CF78FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78FD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78FD#FFFFFF#000000##000000
##CF78FD1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#729FFA
Tritanopia (blue-blind)
#CA8EAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf78fd;
/* rgb */ color: rgb(207, 120, 253);
/* oklch */ color: oklch(72.0% 0.201 312.6);
Tailwind
colors: {
  custom: {
    50: '#e0a2fe',
    500: '#cf78fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf78fd;
$custom-light: #e0a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78fd",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 279.248,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71994,
    "c": 0.20129,
    "h": 312.6
  },
  "luminance": 0.3379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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