#CFABFE#CFABFE

#CFABFE is a light, vivid violet. Relative luminance 0.495; OKLCH L 80.3% C 0.120 H 303.7°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CFABFE
RGBrgb(207, 171, 254)
HSLhsl(266, 98%, 83%)
HSVhsv(266, 33%, 100%)
CMYKcmyk(18.5%, 32.7%, 0%, 0.4%)
CIE-LABlab(75.79, 28.89, -36.31)
CIE-LCHlch(75.79, 46.40, 308.51°)
OKLaboklab(80.27% 0.0668 -0.1002)
OKLCHoklch(80.27% 0.12 303.7)
XYZxyz(58.1808, 49.5471, 100.2452)
Luminance0.4955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABFE #DAFEAB
analogous
#ABB0FE #CFABFE #F8ABFE
triadic
#CFABFE #FECFAB #ABFECF
tetradic
#CFABFE #FEABB0 #DAFEAB #ABFEF8
square
#CFABFE #FEABB0 #DAFEAB #ABFEF8
split-complementary
#CFABFE #FEF8AB #B0FEAB
monochromatic
#8A32FD #AC6FFD #CFABFE #EEE1FF #EEE1FF

Accessibility & contrast

On white

1.92
#CFABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CFABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABFE
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABFE#FFFFFF#000000##000000
##CFABFE1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99BAFF
Deuteranopia (green-blind)
#A0BBFC
Tritanopia (blue-blind)
#C8B8C9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfabfe;
/* rgb */ color: rgb(207, 171, 254);
/* oklch */ color: oklch(80.3% 0.120 303.7);
Tailwind
colors: {
  custom: {
    50: '#dec4ff',
    500: '#cfabfe',
    950: '#000000',
  },
}
SCSS
$custom: #cfabfe;
$custom-light: #dec4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabfe",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 266.024,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80267,
    "c": 0.12043,
    "h": 303.7
  },
  "luminance": 0.49547
}

Semantic roles & 50–950 ramp

primary
#CFABFE
secondary
#E8F7D4
accent
#E60082
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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