#CFAFE8#CFAFE8

#CFAFE8 is a light, moderate violet. Relative luminance 0.498; OKLCH L 80.1% C 0.086 H 309.9°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#CFAFE8
RGBrgb(207, 175, 232)
HSLhsl(274, 55%, 80%)
HSVhsv(274, 25%, 91%)
CMYKcmyk(10.8%, 24.6%, 0%, 9%)
CIE-LABlab(75.92, 22.04, -24.22)
CIE-LCHlch(75.92, 32.75, 312.29°)
OKLaboklab(80.09% 0.0552 -0.066)
OKLCHoklch(80.09% 0.086 309.9)
XYZxyz(55.6250, 49.7520, 83.0010)
Luminance0.4975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFE8 #C8E8AF
analogous
#B3AFE8 #CFAFE8 #E8AFE5
triadic
#CFAFE8 #E8CFAF #AFE8CF
tetradic
#CFAFE8 #E8B3AF #C8E8AF #AFE5E8
square
#CFAFE8 #E8B3AF #C8E8AF #AFE5E8
split-complementary
#CFAFE8 #E5E8AF #AFE8B3
monochromatic
#9650CD #B27FDA #CFAFE8 #ECDFF6 #F1E7F8

Accessibility & contrast

On white

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

On black

10.95
#CFAFE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFE8
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFE8#FFFFFF#000000##000000
##CFAFE81.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BAEA
Deuteranopia (green-blind)
#ACBCE6
Tritanopia (blue-blind)
#CCB6C3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfafe8;
/* rgb */ color: rgb(207, 175, 232);
/* oklch */ color: oklch(80.1% 0.086 309.9);
Tailwind
colors: {
  custom: {
    50: '#dec7ef',
    500: '#cfafe8',
    950: '#000000',
  },
}
SCSS
$custom: #cfafe8;
$custom-light: #dec7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafe8",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 232
  },
  "hsl": {
    "h": 273.684,
    "s": 55.34,
    "l": 79.804
  },
  "oklch": {
    "l": 0.80093,
    "c": 0.08601,
    "h": 309.9
  },
  "luminance": 0.49752
}

Semantic roles & 50–950 ramp

primary
#CFAFE8
secondary
#E4EFDC
accent
#C32369
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFE8

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

Preview Lab → · Contrast checker → · Palette generator →

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