#CFACF9#CFACF9

#CFACF9 is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.2% C 0.112 H 304.8°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CFACF9
RGBrgb(207, 172, 249)
HSLhsl(267, 87%, 83%)
HSVhsv(267, 31%, 98%)
CMYKcmyk(16.9%, 30.9%, 0%, 2.4%)
CIE-LABlab(75.83, 27.26, -33.55)
CIE-LCHlch(75.83, 43.23, 309.09°)
OKLaboklab(80.23% 0.0642 -0.0923)
OKLCHoklch(80.23% 0.112 304.8)
XYZxyz(57.5801, 49.6102, 96.1465)
Luminance0.4961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFACF9 #D6F9AC
analogous
#ACAFF9 #CFACF9 #F6ACF9
triadic
#CFACF9 #F9CFAC #ACF9CF
tetradic
#CFACF9 #F9ACAF #D6F9AC #ACF9F6
square
#CFACF9 #F9ACAF #D6F9AC #ACF9F6
split-complementary
#CFACF9 #F9F6AC #AFF9AC
monochromatic
#8D3AF1 #AE73F5 #CFACF9 #EEE2FD #EEE2FD

Accessibility & contrast

On white

1.92
#CFACF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CFACF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFACF9
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFACF9#FFFFFF#000000##000000
##CFACF91.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBAFC
Deuteranopia (green-blind)
#A3BBF7
Tritanopia (blue-blind)
#C9B7C8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfacf9;
/* rgb */ color: rgb(207, 172, 249);
/* oklch */ color: oklch(80.2% 0.112 304.8);
Tailwind
colors: {
  custom: {
    50: '#dec5fb',
    500: '#cfacf9',
    950: '#000000',
  },
}
SCSS
$custom: #cfacf9;
$custom-light: #dec5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfacf9",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 249
  },
  "hsl": {
    "h": 267.273,
    "s": 86.517,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80232,
    "c": 0.11244,
    "h": 304.8
  },
  "luminance": 0.4961
}

Semantic roles & 50–950 ramp

primary
#CFACF9
secondary
#E7F5D6
accent
#E3027D
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151317
muted
#838285

Preview Lab

Preview with #CFACF9

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

Preview Lab → · Contrast checker → · Palette generator →

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