#CFAFFE#CFAFFE

#CFAFFE is a light, moderate violet. Relative luminance 0.511; OKLCH L 81.0% C 0.114 H 302.5°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CFAFFE
RGBrgb(207, 175, 254)
HSLhsl(264, 98%, 84%)
HSVhsv(264, 31%, 100%)
CMYKcmyk(18.5%, 31.1%, 0%, 0.4%)
CIE-LABlab(76.73, 26.71, -34.85)
CIE-LCHlch(76.73, 43.91, 307.46°)
OKLaboklab(80.98% 0.0612 -0.096)
OKLCHoklch(80.98% 0.114 302.5)
XYZxyz(58.9478, 51.0811, 100.5008)
Luminance0.5108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFFE #DEFEAF
analogous
#AFB7FE #CFAFFE #F7AFFE
triadic
#CFAFFE #FECFAF #AFFECF
tetradic
#CFAFFE #FEAFB7 #DEFEAF #AFFEF7
square
#CFAFFE #FEAFB7 #DEFEAF #AFFEF7
split-complementary
#CFAFFE #FEF7AF #B7FEAF
monochromatic
#8636FC #AB73FD #CFAFFE #EDE1FF #EDE1FF

Accessibility & contrast

On white

1.87
#CFAFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#CFAFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFFE
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFFE#FFFFFF#000000##000000
##CFAFFE1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBDFF
Deuteranopia (green-blind)
#A4BDFC
Tritanopia (blue-blind)
#C7BBCC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfaffe;
/* rgb */ color: rgb(207, 175, 254);
/* oklch */ color: oklch(81.0% 0.114 302.5);
Tailwind
colors: {
  custom: {
    50: '#dec7ff',
    500: '#cfaffe',
    950: '#000000',
  },
}
SCSS
$custom: #cfaffe;
$custom-light: #dec7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaffe",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 264.304,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.80984,
    "c": 0.11391,
    "h": 302.5
  },
  "luminance": 0.51081
}

Semantic roles & 50–950 ramp

primary
#CFAFFE
secondary
#B4E46E
accent
#E60089
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CFAFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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