#CF99FC#CF99FC

#CF99FC is a light, vivid violet. Relative luminance 0.431; OKLCH L 77.1% C 0.148 H 308.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#CF99FC
RGBrgb(207, 153, 252)
HSLhsl(273, 94%, 79%)
HSVhsv(273, 39%, 99%)
CMYKcmyk(17.9%, 39.3%, 0%, 1.2%)
CIE-LABlab(71.61, 38.26, -41.73)
CIE-LCHlch(71.61, 56.61, 312.51°)
OKLaboklab(77.06% 0.0916 -0.1157)
OKLCHoklch(77.06% 0.148 308.4)
XYZxyz(54.6907, 43.0767, 97.5101)
Luminance0.4308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF99FC #C6FC99
analogous
#9E99FC #CF99FC #FC99F8
triadic
#CF99FC #FCCF99 #99FCCF
tetradic
#CF99FC #FC9E99 #C6FC99 #99F8FC
square
#CF99FC #FC9E99 #C6FC99 #99F8FC
split-complementary
#CF99FC #F8FC99 #99FC9E
monochromatic
#9722F9 #B35EFA #CF99FC #EBD4FE #F1E1FE

Accessibility & contrast

On white

2.18
#CF99FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#CF99FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF99FC
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF99FC#FFFFFF#000000##000000
##CF99FC1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#C9A8BF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cf99fc;
/* rgb */ color: rgb(207, 153, 252);
/* oklch */ color: oklch(77.1% 0.148 308.4);
Tailwind
colors: {
  custom: {
    50: '#dfb8fd',
    500: '#cf99fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf99fc;
$custom-light: #dfb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf99fc",
  "rgb": {
    "r": 207,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 272.727,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77063,
    "c": 0.14753,
    "h": 308.4
  },
  "luminance": 0.43076
}

Semantic roles & 50–950 ramp

primary
#CF99FC
secondary
#E4F6D5
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF99FC

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

Preview Lab → · Contrast checker → · Palette generator →

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