#CFAFEC#CFAFEC

#CFAFEC is a light, moderate violet. Relative luminance 0.500; OKLCH L 80.2% C 0.091 H 308.3°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CFAFEC
RGBrgb(207, 175, 236)
HSLhsl(271, 62%, 81%)
HSVhsv(271, 26%, 93%)
CMYKcmyk(12.3%, 25.8%, 0%, 7.5%)
CIE-LABlab(76.06, 22.86, -26.17)
CIE-LCHlch(76.06, 34.75, 311.14°)
OKLaboklab(80.25% 0.0564 -0.0714)
OKLCHoklch(80.25% 0.091 308.3)
XYZxyz(56.1997, 49.9819, 86.0274)
Luminance0.4998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFEC #CCECAF
analogous
#B0AFEC #CFAFEC #ECAFEB
triadic
#CFAFEC #ECCFAF #AFECCF
tetradic
#CFAFEC #ECB0AF #CCECAF #AFEBEC
square
#CFAFEC #ECB0AF #CCECAF #AFEBEC
split-complementary
#CFAFEC #EBECAF #AFECB0
monochromatic
#944CD5 #B17EE0 #CFAFEC #EDE0F8 #F0E6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAFEC#FFFFFF#000000##000000
##CFAFEC1.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)
#A5BAEF
Deuteranopia (green-blind)
#ABBCEA
Tritanopia (blue-blind)
#CCB7C4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfafec;
/* rgb */ color: rgb(207, 175, 236);
/* oklch */ color: oklch(80.2% 0.091 308.3);
Tailwind
colors: {
  custom: {
    50: '#dec7f2',
    500: '#cfafec',
    950: '#000000',
  },
}
SCSS
$custom: #cfafec;
$custom-light: #dec7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafec",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 236
  },
  "hsl": {
    "h": 271.475,
    "s": 61.616,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80249,
    "c": 0.09101,
    "h": 308.3
  },
  "luminance": 0.49981
}

Semantic roles & 50–950 ramp

primary
#CFAFEC
secondary
#E5F0DB
accent
#C91C6E
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151317
muted
#838285

Preview Lab

Preview with #CFAFEC

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

Preview Lab → · Contrast checker → · Palette generator →

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