#CF77F8#CF77F8

#CF77F8 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.6% C 0.198 H 314.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CF77F8
RGBrgb(207, 119, 248)
HSLhsl(281, 90%, 72%)
HSVhsv(281, 52%, 97%)
CMYKcmyk(16.5%, 52%, 0%, 2.7%)
CIE-LABlab(64.35, 55.30, -50.95)
CIE-LCHlch(64.35, 75.20, 317.34°)
OKLaboklab(71.58% 0.1372 -0.1422)
OKLCHoklch(71.58% 0.198 314)
XYZxyz(49.2694, 33.2377, 92.6088)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF77F8 #A0F877
analogous
#8F77F8 #CF77F8 #F877E1
triadic
#CF77F8 #F8CF77 #77F8CF
tetradic
#CF77F8 #F88F77 #A0F877 #77E1F8
square
#CF77F8 #F88F77 #A0F877 #77E1F8
split-complementary
#CF77F8 #E1F877 #77F88F
monochromatic
#A20CE9 #BA3DF5 #CF77F8 #E4B1FB #F5E2FE

Accessibility & contrast

On white

2.75
#CF77F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CF77F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF77F8
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF77F8#FFFFFF#000000##000000
##CF77F81.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#CC8CAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf77f8;
/* rgb */ color: rgb(207, 119, 248);
/* oklch */ color: oklch(71.6% 0.198 314.0);
Tailwind
colors: {
  custom: {
    50: '#e0a1fb',
    500: '#cf77f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf77f8;
$custom-light: #e0a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf77f8",
  "rgb": {
    "r": 207,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 280.93,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71585,
    "c": 0.19756,
    "h": 314
  },
  "luminance": 0.33236
}

Semantic roles & 50–950 ramp

primary
#CF77F8
secondary
#E0F6D5
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #CF77F8

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

Preview Lab → · Contrast checker → · Palette generator →

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