#CF99EC#CF99EC

#CF99EC is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.3% C 0.129 H 313.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CF99EC
RGBrgb(207, 153, 236)
HSLhsl(279, 69%, 76%)
HSVhsv(279, 35%, 93%)
CMYKcmyk(12.3%, 35.2%, 0%, 7.5%)
CIE-LABlab(70.94, 34.87, -34.05)
CIE-LCHlch(70.94, 48.73, 315.68°)
OKLaboklab(76.34% 0.0882 -0.0936)
OKLCHoklch(76.34% 0.129 313.3)
XYZxyz(52.2612, 42.1049, 84.7146)
Luminance0.4210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF99EC #B6EC99
analogous
#A699EC #CF99EC #EC99E0
triadic
#CF99EC #ECCF99 #99ECCF
tetradic
#CF99EC #ECA699 #B6EC99 #99E0EC
square
#CF99EC #ECA699 #B6EC99 #99E0EC
split-complementary
#CF99EC #E0EC99 #99ECA6
monochromatic
#9E32D9 #B765E2 #CF99EC #E7CDF6 #F3E5FA

Accessibility & contrast

On white

2.23
#CF99EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#CF99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF99EC
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF99EC#FFFFFF#000000##000000
##CF99EC1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABEF
Deuteranopia (green-blind)
#98AFEA
Tritanopia (blue-blind)
#CDA4B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cf99ec;
/* rgb */ color: rgb(207, 153, 236);
/* oklch */ color: oklch(76.3% 0.129 313.3);
Tailwind
colors: {
  custom: {
    50: '#deb7f2',
    500: '#cf99ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf99ec;
$custom-light: #deb7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf99ec",
  "rgb": {
    "r": 207,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 279.036,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76342,
    "c": 0.12861,
    "h": 313.3
  },
  "luminance": 0.42104
}

Semantic roles & 50–950 ramp

primary
#CF99EC
secondary
#E2F2D9
accent
#D11557
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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