#CFACFD#CFACFD

#CFACFD is a light, moderate violet. Relative luminance 0.499; OKLCH L 80.4% C 0.118 H 303.7°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#CFACFD
RGBrgb(207, 172, 253)
HSLhsl(266, 95%, 83%)
HSVhsv(266, 32%, 99%)
CMYKcmyk(18.2%, 32%, 0%, 0.8%)
CIE-LABlab(75.98, 28.13, -35.47)
CIE-LCHlch(75.98, 45.26, 308.42°)
OKLaboklab(80.4% 0.0652 -0.0978)
OKLCHoklch(80.4% 0.118 303.7)
XYZxyz(58.2107, 49.8624, 99.4672)
Luminance0.4986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFACFD #DAFDAC
analogous
#ACB1FD #CFACFD #F7ACFD
triadic
#CFACFD #FDCFAC #ACFDCF
tetradic
#CFACFD #FDACB1 #DAFDAC #ACFDF7
square
#CFACFD #FDACB1 #DAFDAC #ACFDF7
split-complementary
#CFACFD #FDF7AC #B1FDAC
monochromatic
#8A34FA #AC70FC #CFACFD #EEE1FE #EEE1FE

Accessibility & contrast

On white

1.91
#CFACFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#CFACFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFACFD
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFACFD#FFFFFF#000000##000000
##CFACFD1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBAFF
Deuteranopia (green-blind)
#A2BBFB
Tritanopia (blue-blind)
#C8B8C9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfacfd;
/* rgb */ color: rgb(207, 172, 253);
/* oklch */ color: oklch(80.4% 0.118 303.7);
Tailwind
colors: {
  custom: {
    50: '#dec5fe',
    500: '#cfacfd',
    950: '#000000',
  },
}
SCSS
$custom: #cfacfd;
$custom-light: #dec5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cfacfd",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 253
  },
  "hsl": {
    "h": 265.926,
    "s": 95.294,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80402,
    "c": 0.11753,
    "h": 303.7
  },
  "luminance": 0.49862
}

Semantic roles & 50–950 ramp

primary
#CFACFD
secondary
#E8F7D4
accent
#E60082
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151318
muted
#838286

Preview Lab

Preview with #CFACFD

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

Preview Lab → · Contrast checker → · Palette generator →

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