#CCAFEB#CCAFEB

#CCAFEB is a light, moderate violet. Relative luminance 0.495; OKLCH L 79.9% C 0.089 H 306.5°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CCAFEB
RGBrgb(204, 175, 235)
HSLhsl(269, 60%, 80%)
HSVhsv(269, 26%, 92%)
CMYKcmyk(13.2%, 25.5%, 0%, 7.8%)
CIE-LABlab(75.76, 21.71, -26.11)
CIE-LCHlch(75.76, 33.96, 309.74°)
OKLaboklab(79.94% 0.0527 -0.0713)
OKLCHoklch(79.94% 0.089 306.5)
XYZxyz(55.2244, 49.4957, 85.2255)
Luminance0.4950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFEB #CEEBAF
analogous
#AFB0EB #CCAFEB #EAAFEB
triadic
#CCAFEB #EBCCAF #AFEBCC
tetradic
#CCAFEB #EBAFB0 #CEEBAF #AFEBEA
square
#CCAFEB #EBAFB0 #CEEBAF #AFEBEA
split-complementary
#CCAFEB #EBEAAF #B0EBAF
monochromatic
#8E4DD3 #AD7EDF #CCAFEB #EBE0F7 #EFE7F9

Accessibility & contrast

On white

1.93
#CCAFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#CCAFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFEB
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFEB#FFFFFF#000000##000000
##CCAFEB1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BAEE
Deuteranopia (green-blind)
#AABBE9
Tritanopia (blue-blind)
#C8B7C4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccafeb;
/* rgb */ color: rgb(204, 175, 235);
/* oklch */ color: oklch(79.9% 0.089 306.5);
Tailwind
colors: {
  custom: {
    50: '#dcc7f1',
    500: '#ccafeb',
    950: '#000000',
  },
}
SCSS
$custom: #ccafeb;
$custom-light: #dcc7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccafeb",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 269,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79944,
    "c": 0.0887,
    "h": 306.5
  },
  "luminance": 0.49495
}

Semantic roles & 50–950 ramp

primary
#CCAFEB
secondary
#E6F0DB
accent
#C81E76
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CCAFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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