#CCAFF9#CCAFF9

#CCAFF9 is a light, moderate violet. Relative luminance 0.503; OKLCH L 80.5% C 0.107 H 302.0°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#CCAFF9
RGBrgb(204, 175, 249)
HSLhsl(264, 86%, 83%)
HSVhsv(264, 30%, 98%)
CMYKcmyk(18.1%, 29.7%, 0%, 2.4%)
CIE-LABlab(76.28, 24.71, -32.88)
CIE-LCHlch(76.28, 41.13, 306.93°)
OKLaboklab(80.51% 0.0566 -0.0905)
OKLCHoklch(80.51% 0.107 302)
XYZxyz(57.3272, 50.3369, 96.3000)
Luminance0.5034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFF9 #DCF9AF
analogous
#AFB7F9 #CCAFF9 #F1AFF9
triadic
#CCAFF9 #F9CCAF #AFF9CC
tetradic
#CCAFF9 #F9AFB7 #DCF9AF #AFF9F1
square
#CCAFF9 #F9AFB7 #DCF9AF #AFF9F1
split-complementary
#CCAFF9 #F9F1AF #B7F9AF
monochromatic
#833DF0 #A876F5 #CCAFF9 #EDE3FD #EDE3FD

Accessibility & contrast

On white

1.90
#CCAFF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#CCAFF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFF9
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFF9#FFFFFF#000000##000000
##CCAFF91.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BCFC
Deuteranopia (green-blind)
#A5BCF7
Tritanopia (blue-blind)
#C5BAC9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccaff9;
/* rgb */ color: rgb(204, 175, 249);
/* oklch */ color: oklch(80.5% 0.107 302.0);
Tailwind
colors: {
  custom: {
    50: '#dcc7fb',
    500: '#ccaff9',
    950: '#000000',
  },
}
SCSS
$custom: #ccaff9;
$custom-light: #dcc7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaff9",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 249
  },
  "hsl": {
    "h": 263.514,
    "s": 86.047,
    "l": 83.137
  },
  "oklch": {
    "l": 0.80512,
    "c": 0.10674,
    "h": 302
  },
  "luminance": 0.50337
}

Semantic roles & 50–950 ramp

primary
#CCAFF9
secondary
#B2DC71
accent
#E3038B
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CCAFF9

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

Preview Lab → · Contrast checker → · Palette generator →

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