#CCAFF5#CCAFF5

#CCAFF5 is a light, moderate violet. Relative luminance 0.501; OKLCH L 80.3% C 0.102 H 303.2°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CCAFF5
RGBrgb(204, 175, 245)
HSLhsl(265, 78%, 82%)
HSVhsv(265, 29%, 96%)
CMYKcmyk(16.7%, 28.6%, 0%, 3.9%)
CIE-LABlab(76.12, 23.84, -30.96)
CIE-LCHlch(76.12, 39.07, 307.60°)
OKLaboklab(80.35% 0.0556 -0.085)
OKLCHoklch(80.35% 0.102 303.2)
XYZxyz(56.7099, 50.0900, 93.0492)
Luminance0.5009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFF5 #D8F5AF
analogous
#AFB5F5 #CCAFF5 #EFAFF5
triadic
#CCAFF5 #F5CCAF #AFF5CC
tetradic
#CCAFF5 #F5AFB5 #D8F5AF #AFF5EF
square
#CCAFF5 #F5AFB5 #D8F5AF #AFF5EF
split-complementary
#CCAFF5 #F5EFAF #B5F5AF
monochromatic
#8742E7 #A979EE #CCAFF5 #EEE4FC #EEE4FC

Accessibility & contrast

On white

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

On black

11.02
#CCAFF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFF5
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFF5#FFFFFF#000000##000000
##CCAFF51.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BBF8
Deuteranopia (green-blind)
#A6BCF3
Tritanopia (blue-blind)
#C6B9C8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccaff5;
/* rgb */ color: rgb(204, 175, 245);
/* oklch */ color: oklch(80.3% 0.102 303.2);
Tailwind
colors: {
  custom: {
    50: '#dcc7f8',
    500: '#ccaff5',
    950: '#000000',
  },
}
SCSS
$custom: #ccaff5;
$custom-light: #dcc7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaff5",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 245
  },
  "hsl": {
    "h": 264.857,
    "s": 77.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80346,
    "c": 0.10156,
    "h": 303.2
  },
  "luminance": 0.5009
}

Semantic roles & 50–950 ramp

primary
#CCAFF5
secondary
#ADD673
accent
#DA0B84
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CCAFF5

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

Preview Lab → · Contrast checker → · Palette generator →

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