#CFAFDB#CFAFDB

#CFAFDB is a light, moderate purple. Relative luminance 0.490; OKLCH L 79.6% C 0.070 H 316.8°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CFAFDB
RGBrgb(207, 175, 219)
HSLhsl(284, 38%, 77%)
HSVhsv(284, 20%, 86%)
CMYKcmyk(5.5%, 20.1%, 0%, 14.1%)
CIE-LABlab(75.48, 19.43, -17.83)
CIE-LCHlch(75.48, 26.37, 317.45°)
OKLaboklab(79.61% 0.0512 -0.0481)
OKLCHoklch(79.61% 0.07 316.8)
XYZxyz(53.8463, 49.0405, 73.6332)
Luminance0.4904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFDB #BBDBAF
analogous
#B9AFDB #CFAFDB #DBAFD1
triadic
#CFAFDB #DBCFAF #AFDBCF
tetradic
#CFAFDB #DBB9AF #BBDBAF #AFD1DB
square
#CFAFDB #DBB9AF #BBDBAF #AFD1DB
split-complementary
#CFAFDB #D1DBAF #AFDBB9
monochromatic
#9C5BB5 #B685C8 #CFAFDB #E8D9EE #F2EAF6

Accessibility & contrast

On white

1.94
#CFAFDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CFAFDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFDB
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFDB#FFFFFF#000000##000000
##CFAFDB1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAB8DD
Deuteranopia (green-blind)
#B0BBD9
Tritanopia (blue-blind)
#CFB4BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfafdb;
/* rgb */ color: rgb(207, 175, 219);
/* oklch */ color: oklch(79.6% 0.070 316.8);
Tailwind
colors: {
  custom: {
    50: '#dec7e6',
    500: '#cfafdb',
    950: '#000000',
  },
}
SCSS
$custom: #cfafdb;
$custom-light: #dec7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafdb",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 219
  },
  "hsl": {
    "h": 283.636,
    "s": 37.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79609,
    "c": 0.07026,
    "h": 316.8
  },
  "luminance": 0.4904
}

Semantic roles & 50–950 ramp

primary
#CFAFDB
secondary
#E2ECDF
accent
#B13557
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFDB

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

Preview Lab → · Contrast checker → · Palette generator →

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