#CFA2DF#CFA2DF

#CFA2DF is a light, moderate purple. Relative luminance 0.444; OKLCH L 77.4% C 0.098 H 317.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CFA2DF
RGBrgb(207, 162, 223)
HSLhsl(284, 49%, 75%)
HSVhsv(284, 27%, 87%)
CMYKcmyk(7.2%, 27.4%, 0%, 12.5%)
CIE-LABlab(72.52, 27.32, -24.51)
CIE-LCHlch(72.52, 36.70, 318.10°)
OKLaboklab(77.38% 0.0717 -0.0667)
OKLCHoklch(77.38% 0.098 317.1)
XYZxyz(51.9698, 44.4347, 75.6368)
Luminance0.4443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2DF #B2DFA2
analogous
#B0A2DF #CFA2DF #DFA2D0
triadic
#CFA2DF #DFCFA2 #A2DFCF
tetradic
#CFA2DF #DFB0A2 #B2DFA2 #A2D0DF
square
#CFA2DF #DFB0A2 #B2DFA2 #A2D0DF
split-complementary
#CFA2DF #D0DFA2 #A2DFB0
monochromatic
#A047C0 #B774CF #CFA2DF #E7D0EF #F3E8F7

Accessibility & contrast

On white

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

On black

9.89
#CFA2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2DF
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2DF#FFFFFF#000000##000000
##CFA2DF1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AAFE1
Deuteranopia (green-blind)
#A4B3DD
Tritanopia (blue-blind)
#CFA9B8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfa2df;
/* rgb */ color: rgb(207, 162, 223);
/* oklch */ color: oklch(77.4% 0.098 317.1);
Tailwind
colors: {
  custom: {
    50: '#debee9',
    500: '#cfa2df',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2df;
$custom-light: #debee9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2df",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 284.262,
    "s": 48.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7738,
    "c": 0.09788,
    "h": 317.1
  },
  "luminance": 0.44434
}

Semantic roles & 50–950 ramp

primary
#CFA2DF
secondary
#E1EEDD
accent
#BC2950
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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