#CFA2E2#CFA2E2

#CFA2E2 is a light, moderate purple. Relative luminance 0.446; OKLCH L 77.5% C 0.101 H 315.7°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CFA2E2
RGBrgb(207, 162, 226)
HSLhsl(282, 52%, 76%)
HSVhsv(282, 28%, 89%)
CMYKcmyk(8.4%, 28.3%, 0%, 11.4%)
CIE-LABlab(72.63, 27.92, -25.99)
CIE-LCHlch(72.63, 38.14, 317.05°)
OKLaboklab(77.5% 0.0725 -0.0708)
OKLCHoklch(77.5% 0.101 315.7)
XYZxyz(52.3778, 44.5980, 77.7858)
Luminance0.4460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2E2 #B5E2A2
analogous
#AFA2E2 #CFA2E2 #E2A2D5
triadic
#CFA2E2 #E2CFA2 #A2E2CF
tetradic
#CFA2E2 #E2AFA2 #B5E2A2 #A2D5E2
square
#CFA2E2 #E2AFA2 #B5E2A2 #A2D5E2
split-complementary
#CFA2E2 #D5E2A2 #A2E2AF
monochromatic
#9F45C5 #B773D3 #CFA2E2 #E7D1F1 #F3E8F8

Accessibility & contrast

On white

2.12
#CFA2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CFA2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2E2
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2E2#FFFFFF#000000##000000
##CFA2E21.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AFE5
Deuteranopia (green-blind)
#A3B4E0
Tritanopia (blue-blind)
#CEAAB9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfa2e2;
/* rgb */ color: rgb(207, 162, 226);
/* oklch */ color: oklch(77.5% 0.101 315.7);
Tailwind
colors: {
  custom: {
    50: '#debeeb',
    500: '#cfa2e2',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2e2;
$custom-light: #debeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2e2",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 282.188,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77498,
    "c": 0.10136,
    "h": 315.7
  },
  "luminance": 0.44597
}

Semantic roles & 50–950 ramp

primary
#CFA2E2
secondary
#E2EFDC
accent
#C02653
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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