#CFA1DF#CFA1DF

#CFA1DF is a light, moderate purple. Relative luminance 0.441; OKLCH L 77.2% C 0.100 H 317.2°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CFA1DF
RGBrgb(207, 161, 223)
HSLhsl(285, 49%, 75%)
HSVhsv(285, 28%, 87%)
CMYKcmyk(7.2%, 27.8%, 0%, 12.5%)
CIE-LABlab(72.28, 27.86, -24.87)
CIE-LCHlch(72.28, 37.35, 318.25°)
OKLaboklab(77.2% 0.0731 -0.0677)
OKLCHoklch(77.2% 0.1 317.2)
XYZxyz(51.7943, 44.0838, 75.5783)
Luminance0.4408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA1DF #B1DFA1
analogous
#B0A1DF #CFA1DF #DFA1D0
triadic
#CFA1DF #DFCFA1 #A1DFCF
tetradic
#CFA1DF #DFB0A1 #B1DFA1 #A1D0DF
square
#CFA1DF #DFB0A1 #B1DFA1 #A1D0DF
split-complementary
#CFA1DF #D0DFA1 #A1DFB0
monochromatic
#A046C0 #B873CF #CFA1DF #E6CFEF #F3E8F7

Accessibility & contrast

On white

2.14
#CFA1DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#CFA1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA1DF
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA1DF#FFFFFF#000000##000000
##CFA1DF1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AEE1
Deuteranopia (green-blind)
#A3B3DD
Tritanopia (blue-blind)
#CFA8B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfa1df;
/* rgb */ color: rgb(207, 161, 223);
/* oklch */ color: oklch(77.2% 0.100 317.2);
Tailwind
colors: {
  custom: {
    50: '#debde9',
    500: '#cfa1df',
    950: '#000000',
  },
}
SCSS
$custom: #cfa1df;
$custom-light: #debde9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa1df",
  "rgb": {
    "r": 207,
    "g": 161,
    "b": 223
  },
  "hsl": {
    "h": 284.516,
    "s": 49.206,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77201,
    "c": 0.09965,
    "h": 317.2
  },
  "luminance": 0.44083
}

Semantic roles & 50–950 ramp

primary
#CFA1DF
secondary
#E1EEDD
accent
#BD294F
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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