#CFA5E4#CFA5E4

#CFA5E4 is a light, moderate purple. Relative luminance 0.458; OKLCH L 78.1% C 0.098 H 314.2°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CFA5E4
RGBrgb(207, 165, 228)
HSLhsl(280, 54%, 77%)
HSVhsv(280, 28%, 89%)
CMYKcmyk(9.2%, 27.6%, 0%, 10.6%)
CIE-LABlab(73.40, 26.68, -25.89)
CIE-LCHlch(73.40, 37.18, 315.86°)
OKLaboklab(78.11% 0.0687 -0.0706)
OKLCHoklch(78.11% 0.098 314.2)
XYZxyz(53.1886, 45.7779, 79.4178)
Luminance0.4578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA5E4 #BAE4A5
analogous
#B0A5E4 #CFA5E4 #E4A5DA
triadic
#CFA5E4 #E4CFA5 #A5E4CF
tetradic
#CFA5E4 #E4B0A5 #BAE4A5 #A5DAE4
square
#CFA5E4 #E4B0A5 #BAE4A5 #A5DAE4
split-complementary
#CFA5E4 #DAE4A5 #A5E4B0
monochromatic
#9D47C8 #B676D6 #CFA5E4 #E8D4F2 #F2E7F8

Accessibility & contrast

On white

2.07
#CFA5E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CFA5E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA5E4
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA5E4#FFFFFF#000000##000000
##CFA5E41.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB2E7
Deuteranopia (green-blind)
#A5B5E2
Tritanopia (blue-blind)
#CEADBB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfa5e4;
/* rgb */ color: rgb(207, 165, 228);
/* oklch */ color: oklch(78.1% 0.098 314.2);
Tailwind
colors: {
  custom: {
    50: '#dec0ec',
    500: '#cfa5e4',
    950: '#000000',
  },
}
SCSS
$custom: #cfa5e4;
$custom-light: #dec0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa5e4",
  "rgb": {
    "r": 207,
    "g": 165,
    "b": 228
  },
  "hsl": {
    "h": 280,
    "s": 53.846,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78115,
    "c": 0.09847,
    "h": 314.2
  },
  "luminance": 0.45777
}

Semantic roles & 50–950 ramp

primary
#CFA5E4
secondary
#E2EFDC
accent
#C12459
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA5E4

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

Preview Lab → · Contrast checker → · Palette generator →

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