#CFA5DF#CFA5DF

#CFA5DF is a light, moderate purple. Relative luminance 0.455; OKLCH L 77.9% C 0.093 H 316.5°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CFA5DF
RGBrgb(207, 165, 223)
HSLhsl(283, 48%, 76%)
HSVhsv(283, 26%, 87%)
CMYKcmyk(7.2%, 26%, 0%, 12.5%)
CIE-LABlab(73.22, 25.68, -23.43)
CIE-LCHlch(73.22, 34.76, 317.61°)
OKLaboklab(77.92% 0.0672 -0.0637)
OKLCHoklch(77.92% 0.093 316.5)
XYZxyz(52.5046, 45.5043, 75.8150)
Luminance0.4550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA5DF #B5DFA5
analogous
#B2A5DF #CFA5DF #DFA5D2
triadic
#CFA5DF #DFCFA5 #A5DFCF
tetradic
#CFA5DF #DFB2A5 #B5DFA5 #A5D2DF
square
#CFA5DF #DFB2A5 #B5DFA5 #A5D2DF
split-complementary
#CFA5DF #D2DFA5 #A5DFB2
monochromatic
#9F4BBF #B778CF #CFA5DF #E7D2EF #F3E8F7

Accessibility & contrast

On white

2.08
#CFA5DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CFA5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA5DF
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA5DF#FFFFFF#000000##000000
##CFA5DF1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB1E1
Deuteranopia (green-blind)
#A7B5DD
Tritanopia (blue-blind)
#CFACB9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfa5df;
/* rgb */ color: rgb(207, 165, 223);
/* oklch */ color: oklch(77.9% 0.093 316.5);
Tailwind
colors: {
  custom: {
    50: '#dec0e9',
    500: '#cfa5df',
    950: '#000000',
  },
}
SCSS
$custom: #cfa5df;
$custom-light: #dec0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa5df",
  "rgb": {
    "r": 207,
    "g": 165,
    "b": 223
  },
  "hsl": {
    "h": 283.448,
    "s": 47.541,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7792,
    "c": 0.09259,
    "h": 316.5
  },
  "luminance": 0.45503
}

Semantic roles & 50–950 ramp

primary
#CFA5DF
secondary
#E2EEDD
accent
#BB2B52
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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