#CF78FE#CF78FE

#CF78FE is a light, highly saturated violet. Relative luminance 0.339; OKLCH L 72.0% C 0.202 H 312.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CF78FE
RGBrgb(207, 120, 254)
HSLhsl(279, 99%, 73%)
HSVhsv(279, 53%, 100%)
CMYKcmyk(18.5%, 52.8%, 0%, 0.4%)
CIE-LABlab(64.85, 56.05, -53.47)
CIE-LCHlch(64.85, 77.46, 316.35°)
OKLaboklab(72.05% 0.1363 -0.1495)
OKLCHoklch(72.05% 0.202 312.4)
XYZxyz(50.3349, 33.8553, 97.6299)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78FE #A7FE78
analogous
#8C78FE #CF78FE #FE78EA
triadic
#CF78FE #FECF78 #78FECF
tetradic
#CF78FE #FE8C78 #A7FE78 #78EAFE
square
#CF78FE #FE8C78 #A7FE78 #78EAFE
split-complementary
#CF78FE #EAFE78 #78FE8C
monochromatic
#A302FA #B93BFE #CF78FE #E5B5FE #F4E1FF

Accessibility & contrast

On white

2.70
#CF78FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#CF78FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78FE
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78FE#FFFFFF#000000##000000
##CF78FE1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#719FFB
Tritanopia (blue-blind)
#CA8EB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf78fe;
/* rgb */ color: rgb(207, 120, 254);
/* oklch */ color: oklch(72.0% 0.202 312.4);
Tailwind
colors: {
  custom: {
    50: '#e0a2ff',
    500: '#cf78fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf78fe;
$custom-light: #e0a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78fe",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 278.955,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72048,
    "c": 0.20234,
    "h": 312.4
  },
  "luminance": 0.33854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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