#CFACFF#CFACFF

#CFACFF is a light, vivid violet. Relative luminance 0.500; OKLCH L 80.5% C 0.120 H 303.2°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CFACFF
RGBrgb(207, 172, 255)
HSLhsl(265, 100%, 84%)
HSVhsv(265, 33%, 100%)
CMYKcmyk(18.8%, 32.5%, 0%, 0%)
CIE-LABlab(76.06, 28.56, -36.42)
CIE-LCHlch(76.06, 46.29, 308.11°)
OKLaboklab(80.49% 0.0657 -0.1005)
OKLCHoklch(80.49% 0.12 303.2)
XYZxyz(58.5309, 49.9905, 101.1539)
Luminance0.4999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFACFF #DCFFAC
analogous
#ACB2FF #CFACFF #F8ACFF
triadic
#CFACFF #FFCFAC #ACFFCF
tetradic
#CFACFF #FFACB2 #DCFFAC #ACFFF8
square
#CFACFF #FFACB2 #DCFFAC #ACFFF8
split-complementary
#CFACFF #FFF8AC #B2FFAC
monochromatic
#8832FF #AC6FFF #CFACFF #EDE0FF #EDE0FF

Accessibility & contrast

On white

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

On black

11.00
#CFACFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFACFF
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFACFF#FFFFFF#000000##000000
##CFACFF1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABBFF
Deuteranopia (green-blind)
#A1BBFD
Tritanopia (blue-blind)
#C7B9CA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfacff;
/* rgb */ color: rgb(207, 172, 255);
/* oklch */ color: oklch(80.5% 0.120 303.2);
Tailwind
colors: {
  custom: {
    50: '#dec5ff',
    500: '#cfacff',
    950: '#000000',
  },
}
SCSS
$custom: #cfacff;
$custom-light: #dec5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfacff",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 255
  },
  "hsl": {
    "h": 265.301,
    "s": 100,
    "l": 83.725
  },
  "oklch": {
    "l": 0.80488,
    "c": 0.12007,
    "h": 303.2
  },
  "luminance": 0.4999
}

Semantic roles & 50–950 ramp

primary
#CFACFF
secondary
#E8F7D4
accent
#E60085
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151318
muted
#838286

Preview Lab

Preview with #CFACFF

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

Preview Lab → · Contrast checker → · Palette generator →

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