#CFA7DF#CFA7DF

#CFA7DF is a light, moderate purple. Relative luminance 0.462; OKLCH L 78.3% C 0.089 H 316.2°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CFA7DF
RGBrgb(207, 167, 223)
HSLhsl(283, 47%, 76%)
HSVhsv(283, 25%, 87%)
CMYKcmyk(7.2%, 25.1%, 0%, 12.5%)
CIE-LABlab(73.70, 24.58, -22.71)
CIE-LCHlch(73.70, 33.47, 317.26°)
OKLaboklab(78.28% 0.0643 -0.0617)
OKLCHoklch(78.28% 0.089 316.2)
XYZxyz(52.8681, 46.2314, 75.9362)
Luminance0.4623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA7DF #B7DFA7
analogous
#B3A7DF #CFA7DF #DFA7D3
triadic
#CFA7DF #DFCFA7 #A7DFCF
tetradic
#CFA7DF #DFB3A7 #B7DFA7 #A7D3DF
square
#CFA7DF #DFB3A7 #B7DFA7 #A7D3DF
split-complementary
#CFA7DF #D3DFA7 #A7DFB3
monochromatic
#9E4DBE #B77ACF #CFA7DF #E7D4EF #F3E9F7

Accessibility & contrast

On white

2.05
#CFA7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#CFA7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA7DF
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA7DF#FFFFFF#000000##000000
##CFA7DF1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B3E1
Deuteranopia (green-blind)
#A8B6DD
Tritanopia (blue-blind)
#CFADBB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa7df;
/* rgb */ color: rgb(207, 167, 223);
/* oklch */ color: oklch(78.3% 0.089 316.2);
Tailwind
colors: {
  custom: {
    50: '#dec1e9',
    500: '#cfa7df',
    950: '#000000',
  },
}
SCSS
$custom: #cfa7df;
$custom-light: #dec1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa7df",
  "rgb": {
    "r": 207,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 282.857,
    "s": 46.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78282,
    "c": 0.08907,
    "h": 316.2
  },
  "luminance": 0.46231
}

Semantic roles & 50–950 ramp

primary
#CFA7DF
secondary
#E2EEDD
accent
#BA2C54
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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