#CCAFF0#CCAFF0

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

Color values

HEX#CCAFF0
RGBrgb(204, 175, 240)
HSLhsl(267, 68%, 81%)
HSVhsv(267, 27%, 94%)
CMYKcmyk(15%, 27.1%, 0%, 5.9%)
CIE-LABlab(75.94, 22.77, -28.54)
CIE-LCHlch(75.94, 36.51, 308.58°)
OKLaboklab(80.14% 0.0542 -0.0782)
OKLCHoklch(80.14% 0.095 304.7)
XYZxyz(55.9569, 49.7888, 89.0835)
Luminance0.4979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFF0 #D3F0AF
analogous
#AFB3F0 #CCAFF0 #EDAFF0
triadic
#CCAFF0 #F0CCAF #AFF0CC
tetradic
#CCAFF0 #F0AFB3 #D3F0AF #AFF0ED
square
#CCAFF0 #F0AFB3 #D3F0AF #AFF0ED
split-complementary
#CCAFF0 #F0EDAF #B3F0AF
monochromatic
#8A48DD #AB7BE6 #CCAFF0 #EDE3FA #EFE5FA

Accessibility & contrast

On white

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

On black

10.96
#CCAFF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFF0
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFF0#FFFFFF#000000##000000
##CCAFF01.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BAF3
Deuteranopia (green-blind)
#A8BBEE
Tritanopia (blue-blind)
#C7B8C6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccaff0;
/* rgb */ color: rgb(204, 175, 240);
/* oklch */ color: oklch(80.1% 0.095 304.7);
Tailwind
colors: {
  custom: {
    50: '#dcc7f5',
    500: '#ccaff0',
    950: '#000000',
  },
}
SCSS
$custom: #ccaff0;
$custom-light: #dcc7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaff0",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 240
  },
  "hsl": {
    "h": 266.769,
    "s": 68.421,
    "l": 81.373
  },
  "oklch": {
    "l": 0.80143,
    "c": 0.0951,
    "h": 304.7
  },
  "luminance": 0.49789
}

Semantic roles & 50–950 ramp

primary
#CCAFF0
secondary
#E7F2D9
accent
#D0157D
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151317
muted
#838285

Preview Lab

Preview with #CCAFF0

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

Preview Lab → · Contrast checker → · Palette generator →

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