#CCAFF4#CCAFF4

#CCAFF4 is a light, moderate violet. Relative luminance 0.500; OKLCH L 80.3% C 0.100 H 303.5°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#CCAFF4
RGBrgb(204, 175, 244)
HSLhsl(265, 76%, 82%)
HSVhsv(265, 28%, 96%)
CMYKcmyk(16.4%, 28.3%, 0%, 4.3%)
CIE-LABlab(76.09, 23.63, -30.48)
CIE-LCHlch(76.09, 38.56, 307.78°)
OKLaboklab(80.31% 0.0553 -0.0836)
OKLCHoklch(80.31% 0.1 303.5)
XYZxyz(56.5577, 50.0291, 92.2474)
Luminance0.5003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFF4 #D7F4AF
analogous
#AFB5F4 #CCAFF4 #EEAFF4
triadic
#CCAFF4 #F4CCAF #AFF4CC
tetradic
#CCAFF4 #F4AFB5 #D7F4AF #AFF4EE
square
#CCAFF4 #F4AFB5 #D7F4AF #AFF4EE
split-complementary
#CCAFF4 #F4EEAF #B5F4AF
monochromatic
#8743E5 #AA79ED #CCAFF4 #EEE4FB #EEE4FB

Accessibility & contrast

On white

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

On black

11.01
#CCAFF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFF4
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFF4#FFFFFF#000000##000000
##CCAFF41.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BBF7
Deuteranopia (green-blind)
#A7BCF2
Tritanopia (blue-blind)
#C6B9C7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccaff4;
/* rgb */ color: rgb(204, 175, 244);
/* oklch */ color: oklch(80.3% 0.100 303.5);
Tailwind
colors: {
  custom: {
    50: '#dcc7f8',
    500: '#ccaff4',
    950: '#000000',
  },
}
SCSS
$custom: #ccaff4;
$custom-light: #dcc7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaff4",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 244
  },
  "hsl": {
    "h": 265.217,
    "s": 75.824,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80305,
    "c": 0.10027,
    "h": 303.5
  },
  "luminance": 0.50029
}

Semantic roles & 50–950 ramp

primary
#CCAFF4
secondary
#ABD473
accent
#D80D83
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CCAFF4

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

Preview Lab → · Contrast checker → · Palette generator →

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