#CCAFF3#CCAFF3

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

Color values

HEX#CCAFF3
RGBrgb(204, 175, 243)
HSLhsl(266, 74%, 82%)
HSVhsv(266, 28%, 95%)
CMYKcmyk(16%, 28%, 0%, 4.7%)
CIE-LABlab(76.05, 23.41, -29.99)
CIE-LCHlch(76.05, 38.05, 307.97°)
OKLaboklab(80.26% 0.055 -0.0823)
OKLCHoklch(80.26% 0.099 303.8)
XYZxyz(56.4063, 49.9685, 91.4499)
Luminance0.4997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFF3 #D6F3AF
analogous
#AFB4F3 #CCAFF3 #EEAFF3
triadic
#CCAFF3 #F3CCAF #AFF3CC
tetradic
#CCAFF3 #F3AFB4 #D6F3AF #AFF3EE
square
#CCAFF3 #F3AFB4 #D6F3AF #AFF3EE
split-complementary
#CCAFF3 #F3EEAF #B4F3AF
monochromatic
#8845E3 #AA7AEB #CCAFF3 #EEE4FB #EEE4FB

Accessibility & contrast

On white

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

On black

10.99
#CCAFF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFF3
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFF3#FFFFFF#000000##000000
##CCAFF31.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BBF6
Deuteranopia (green-blind)
#A7BCF1
Tritanopia (blue-blind)
#C6B9C7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccaff3;
/* rgb */ color: rgb(204, 175, 243);
/* oklch */ color: oklch(80.3% 0.099 303.8);
Tailwind
colors: {
  custom: {
    50: '#dcc7f7',
    500: '#ccaff3',
    950: '#000000',
  },
}
SCSS
$custom: #ccaff3;
$custom-light: #dcc7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaff3",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 243
  },
  "hsl": {
    "h": 265.588,
    "s": 73.913,
    "l": 81.961
  },
  "oklch": {
    "l": 0.80264,
    "c": 0.09897,
    "h": 303.8
  },
  "luminance": 0.49968
}

Semantic roles & 50–950 ramp

primary
#CCAFF3
secondary
#E7F3D8
accent
#D60F81
background
#FDFCFF
surface
#FBF8FE
border
#D4D1D6
text
#151317
muted
#838285

Preview Lab

Preview with #CCAFF3

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

Preview Lab → · Contrast checker → · Palette generator →

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