#CF99FE#CF99FE

#CF99FE is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.2% C 0.150 H 307.8°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#CF99FE
RGBrgb(207, 153, 254)
HSLhsl(272, 98%, 80%)
HSVhsv(272, 40%, 100%)
CMYKcmyk(18.5%, 39.8%, 0%, 0.4%)
CIE-LABlab(71.69, 38.69, -42.68)
CIE-LCHlch(71.69, 57.61, 312.19°)
OKLaboklab(77.16% 0.092 -0.1184)
OKLCHoklch(77.16% 0.15 307.8)
XYZxyz(55.0093, 43.2042, 99.1880)
Luminance0.4320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF99FE #C8FE99
analogous
#9D99FE #CF99FE #FE99FB
triadic
#CF99FE #FECF99 #99FECF
tetradic
#CF99FE #FE9D99 #C8FE99 #99FBFE
square
#CF99FE #FE9D99 #C8FE99 #99FBFE
split-complementary
#CF99FE #FBFE99 #99FE9D
monochromatic
#9620FD #B25CFD #CF99FE #ECD6FF #F1E1FF

Accessibility & contrast

On white

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

On black

9.64
#CF99FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF99FE
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF99FE#FFFFFF#000000##000000
##CF99FE1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#90B0FB
Tritanopia (blue-blind)
#C9A8C0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf99fe;
/* rgb */ color: rgb(207, 153, 254);
/* oklch */ color: oklch(77.2% 0.150 307.8);
Tailwind
colors: {
  custom: {
    50: '#dfb8ff',
    500: '#cf99fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf99fe;
$custom-light: #dfb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf99fe",
  "rgb": {
    "r": 207,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 272.079,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77156,
    "c": 0.14992,
    "h": 307.8
  },
  "luminance": 0.43204
}

Semantic roles & 50–950 ramp

primary
#CF99FE
secondary
#E4F7D4
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF99FE

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

Preview Lab → · Contrast checker → · Palette generator →

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