#CFABFD#CFABFD

#CFABFD is a light, moderate violet. Relative luminance 0.495; OKLCH L 80.2% C 0.119 H 304.0°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CFABFD
RGBrgb(207, 171, 253)
HSLhsl(266, 95%, 83%)
HSVhsv(266, 32%, 99%)
CMYKcmyk(18.2%, 32.4%, 0%, 0.8%)
CIE-LABlab(75.75, 28.67, -35.83)
CIE-LCHlch(75.75, 45.89, 308.67°)
OKLaboklab(80.22% 0.0666 -0.0988)
OKLCHoklch(80.22% 0.119 304)
XYZxyz(58.0211, 49.4832, 99.4040)
Luminance0.4948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABFD #D9FDAB
analogous
#ABB0FD #CFABFD #F8ABFD
triadic
#CFABFD #FDCFAB #ABFDCF
tetradic
#CFABFD #FDABB0 #D9FDAB #ABFDF8
square
#CFABFD #FDABB0 #D9FDAB #ABFDF8
split-complementary
#CFABFD #FDF8AB #B0FDAB
monochromatic
#8B33FA #AD6FFC #CFABFD #EEE1FE #EEE1FE

Accessibility & contrast

On white

1.93
#CFABFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#CFABFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABFD
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABFD#FFFFFF#000000##000000
##CFABFD1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#A1BBFB
Tritanopia (blue-blind)
#C8B7C9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfabfd;
/* rgb */ color: rgb(207, 171, 253);
/* oklch */ color: oklch(80.2% 0.119 304.0);
Tailwind
colors: {
  custom: {
    50: '#dec4fe',
    500: '#cfabfd',
    950: '#000000',
  },
}
SCSS
$custom: #cfabfd;
$custom-light: #dec4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabfd",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 253
  },
  "hsl": {
    "h": 266.341,
    "s": 95.349,
    "l": 83.137
  },
  "oklch": {
    "l": 0.80224,
    "c": 0.11916,
    "h": 304
  },
  "luminance": 0.49483
}

Semantic roles & 50–950 ramp

primary
#CFABFD
secondary
#E8F7D4
accent
#E60081
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFABFD

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

Preview Lab → · Contrast checker → · Palette generator →

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