#CF99F8#CF99F8

#CF99F8 is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.9% C 0.143 H 309.5°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CF99F8
RGBrgb(207, 153, 248)
HSLhsl(274, 87%, 79%)
HSVhsv(274, 38%, 97%)
CMYKcmyk(16.5%, 38.3%, 0%, 2.7%)
CIE-LABlab(71.44, 37.40, -39.82)
CIE-LCHlch(71.44, 54.63, 313.20°)
OKLaboklab(76.88% 0.0908 -0.1102)
OKLCHoklch(76.88% 0.143 309.5)
XYZxyz(54.0635, 42.8259, 94.2069)
Luminance0.4283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF99F8 #C2F899
analogous
#9F99F8 #CF99F8 #F899F2
triadic
#CF99F8 #F8CF99 #99F8CF
tetradic
#CF99F8 #F89F99 #C2F899 #99F2F8
square
#CF99F8 #F89F99 #C2F899 #99F2F8
split-complementary
#CF99F8 #F2F899 #99F89F
monochromatic
#9926F0 #B460F4 #CF99F8 #EAD2FC #F2E2FD

Accessibility & contrast

On white

2.20
#CF99F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#CF99F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF99F8
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF99F8#FFFFFF#000000##000000
##CF99F81.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFC
Deuteranopia (green-blind)
#92B0F5
Tritanopia (blue-blind)
#CAA7BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cf99f8;
/* rgb */ color: rgb(207, 153, 248);
/* oklch */ color: oklch(76.9% 0.143 309.5);
Tailwind
colors: {
  custom: {
    50: '#dfb8fb',
    500: '#cf99f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf99f8;
$custom-light: #dfb8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf99f8",
  "rgb": {
    "r": 207,
    "g": 153,
    "b": 248
  },
  "hsl": {
    "h": 274.105,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76878,
    "c": 0.14276,
    "h": 309.5
  },
  "luminance": 0.42825
}

Semantic roles & 50–950 ramp

primary
#CF99F8
secondary
#E3F5D6
accent
#E40263
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF99F8

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

Preview Lab → · Contrast checker → · Palette generator →

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