#CF77FE#CF77FE

#CF77FE is a light, highly saturated violet. Relative luminance 0.336; OKLCH L 71.9% C 0.204 H 312.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CF77FE
RGBrgb(207, 119, 254)
HSLhsl(279, 99%, 73%)
HSVhsv(279, 53%, 100%)
CMYKcmyk(18.5%, 53.1%, 0%, 0.4%)
CIE-LABlab(64.66, 56.55, -53.77)
CIE-LCHlch(64.66, 78.03, 316.44°)
OKLaboklab(71.91% 0.1376 -0.1504)
OKLCHoklch(71.91% 0.204 312.5)
XYZxyz(50.2152, 33.6160, 97.5900)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF77FE #A6FE77
analogous
#8B77FE #CF77FE #FE77E9
triadic
#CF77FE #FECF77 #77FECF
tetradic
#CF77FE #FE8B77 #A6FE77 #77E9FE
square
#CF77FE #FE8B77 #A6FE77 #77E9FE
split-complementary
#CF77FE #E9FE77 #77FE8B
monochromatic
#A302F9 #BA3AFE #CF77FE #E4B4FE #F4E1FF

Accessibility & contrast

On white

2.72
#CF77FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CF77FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF77FE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF77FE#FFFFFF#000000##000000
##CF77FE1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf77fe;
/* rgb */ color: rgb(207, 119, 254);
/* oklch */ color: oklch(71.9% 0.204 312.5);
Tailwind
colors: {
  custom: {
    50: '#e0a1ff',
    500: '#cf77fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf77fe;
$custom-light: #e0a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf77fe",
  "rgb": {
    "r": 207,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 279.111,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71908,
    "c": 0.20385,
    "h": 312.5
  },
  "luminance": 0.33615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF77FE

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

Preview Lab → · Contrast checker → · Palette generator →

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