#CF99FB#CF99FB

#CF99FB is a light, vivid violet. Relative luminance 0.430; OKLCH L 77.0% C 0.146 H 308.6°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#CF99FB
RGBrgb(207, 153, 251)
HSLhsl(273, 92%, 79%)
HSVhsv(273, 39%, 98%)
CMYKcmyk(17.5%, 39%, 0%, 1.6%)
CIE-LABlab(71.56, 38.04, -41.26)
CIE-LCHlch(71.56, 56.12, 312.68°)
OKLaboklab(77.02% 0.0914 -0.1143)
OKLCHoklch(77.02% 0.146 308.6)
XYZxyz(54.5327, 43.0135, 96.6777)
Luminance0.4301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF99FB #C5FB99
analogous
#9E99FB #CF99FB #FB99F6
triadic
#CF99FB #FBCF99 #99FBCF
tetradic
#CF99FB #FB9E99 #C5FB99 #99F6FB
square
#CF99FB #FB9E99 #C5FB99 #99F6FB
split-complementary
#CF99FB #F6FB99 #99FB9E
monochromatic
#9823F6 #B35EF9 #CF99FB #EBD4FD #F1E2FE

Accessibility & contrast

On white

2.19
#CF99FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#CF99FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF99FB
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF99FB#FFFFFF#000000##000000
##CF99FB1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#C9A8BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cf99fb;
/* rgb */ color: rgb(207, 153, 251);
/* oklch */ color: oklch(77.0% 0.146 308.6);
Tailwind
colors: {
  custom: {
    50: '#dfb8fd',
    500: '#cf99fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf99fb;
$custom-light: #dfb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf99fb",
  "rgb": {
    "r": 207,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 273.061,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77016,
    "c": 0.14634,
    "h": 308.6
  },
  "luminance": 0.43013
}

Semantic roles & 50–950 ramp

primary
#CF99FB
secondary
#E4F6D5
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF99FB

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

Preview Lab → · Contrast checker → · Palette generator →

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