#CF76FE#CF76FE

#CF76FE is a light, highly saturated violet. Relative luminance 0.334; OKLCH L 71.8% C 0.205 H 312.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CF76FE
RGBrgb(207, 118, 254)
HSLhsl(279, 99%, 73%)
HSVhsv(279, 54%, 100%)
CMYKcmyk(18.5%, 53.5%, 0%, 0.4%)
CIE-LABlab(64.47, 57.05, -54.07)
CIE-LCHlch(64.47, 78.60, 316.54°)
OKLaboklab(71.77% 0.1389 -0.1513)
OKLCHoklch(71.77% 0.205 312.6)
XYZxyz(50.0968, 33.3792, 97.5505)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF76FE #A5FE76
analogous
#8B76FE #CF76FE #FE76E9
triadic
#CF76FE #FECF76 #76FECF
tetradic
#CF76FE #FE8B76 #A5FE76 #76E9FE
square
#CF76FE #FE8B76 #A5FE76 #76E9FE
split-complementary
#CF76FE #E9FE76 #76FE8B
monochromatic
#A302F8 #BA39FE #CF76FE #E4B3FE #F4E1FF

Accessibility & contrast

On white

2.74
#CF76FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CF76FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF76FE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF76FE#FFFFFF#000000##000000
##CF76FE1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6F9EFB
Tritanopia (blue-blind)
#CA8DAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf76fe;
/* rgb */ color: rgb(207, 118, 254);
/* oklch */ color: oklch(71.8% 0.205 312.6);
Tailwind
colors: {
  custom: {
    50: '#e0a1ff',
    500: '#cf76fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf76fe;
$custom-light: #e0a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf76fe",
  "rgb": {
    "r": 207,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 279.265,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71768,
    "c": 0.20536,
    "h": 312.6
  },
  "luminance": 0.33378
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF76FE

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

Preview Lab → · Contrast checker → · Palette generator →

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