#CFA7E4#CFA7E4

#CFA7E4 is a light, moderate violet. Relative luminance 0.465; OKLCH L 78.5% C 0.095 H 313.8°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CFA7E4
RGBrgb(207, 167, 228)
HSLhsl(279, 53%, 77%)
HSVhsv(279, 27%, 89%)
CMYKcmyk(9.2%, 26.8%, 0%, 10.6%)
CIE-LABlab(73.87, 25.59, -25.17)
CIE-LCHlch(73.87, 35.89, 315.47°)
OKLaboklab(78.48% 0.0657 -0.0686)
OKLCHoklch(78.48% 0.095 313.8)
XYZxyz(53.5522, 46.5050, 79.5390)
Luminance0.4650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA7E4 #BCE4A7
analogous
#B0A7E4 #CFA7E4 #E4A7DB
triadic
#CFA7E4 #E4CFA7 #A7E4CF
tetradic
#CFA7E4 #E4B0A7 #BCE4A7 #A7DBE4
square
#CFA7E4 #E4B0A7 #BCE4A7 #A7DBE4
split-complementary
#CFA7E4 #DBE4A7 #A7E4B0
monochromatic
#9C49C7 #B578D6 #CFA7E4 #E9D6F2 #F2E8F8

Accessibility & contrast

On white

2.04
#CFA7E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CFA7E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA7E4
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA7E4#FFFFFF#000000##000000
##CFA7E41.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB3E6
Deuteranopia (green-blind)
#A7B7E2
Tritanopia (blue-blind)
#CEAEBD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfa7e4;
/* rgb */ color: rgb(207, 167, 228);
/* oklch */ color: oklch(78.5% 0.095 313.8);
Tailwind
colors: {
  custom: {
    50: '#dec1ec',
    500: '#cfa7e4',
    950: '#000000',
  },
}
SCSS
$custom: #cfa7e4;
$custom-light: #dec1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa7e4",
  "rgb": {
    "r": 207,
    "g": 167,
    "b": 228
  },
  "hsl": {
    "h": 279.344,
    "s": 53.043,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78476,
    "c": 0.09498,
    "h": 313.8
  },
  "luminance": 0.46504
}

Semantic roles & 50–950 ramp

primary
#CFA7E4
secondary
#E3EFDC
accent
#C0255B
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA7E4

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

Preview Lab → · Contrast checker → · Palette generator →

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