#CCAAFA#CCAAFA

#CCAAFA is a light, moderate violet. Relative luminance 0.485; OKLCH L 79.6% C 0.116 H 303.4°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#CCAAFA
RGBrgb(204, 170, 250)
HSLhsl(266, 89%, 82%)
HSVhsv(266, 32%, 98%)
CMYKcmyk(18.4%, 32%, 0%, 2%)
CIE-LABlab(75.13, 27.67, -35.19)
CIE-LCHlch(75.13, 44.76, 308.18°)
OKLaboklab(79.65% 0.0639 -0.097)
OKLCHoklch(79.65% 0.116 303.4)
XYZxyz(56.5284, 48.4890, 96.8052)
Luminance0.4849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAAFA #D8FAAA
analogous
#AAB0FA #CCAAFA #F4AAFA
triadic
#CCAAFA #FACCAA #AAFACC
tetradic
#CCAAFA #FAAAB0 #D8FAAA #AAFAF4
square
#CCAAFA #FAAAB0 #D8FAAA #AAFAF4
split-complementary
#CCAAFA #FAF4AA #B0FAAA
monochromatic
#8736F3 #A970F7 #CCAAFA #EEE2FD #EEE2FD

Accessibility & contrast

On white

1.96
#CCAAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#CCAAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAAFA
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAAFA#FFFFFF#000000##000000
##CCAAFA1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FD
Deuteranopia (green-blind)
#A0B9F8
Tritanopia (blue-blind)
#C5B6C7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccaafa;
/* rgb */ color: rgb(204, 170, 250);
/* oklch */ color: oklch(79.6% 0.116 303.4);
Tailwind
colors: {
  custom: {
    50: '#dcc3fc',
    500: '#ccaafa',
    950: '#000000',
  },
}
SCSS
$custom: #ccaafa;
$custom-light: #dcc3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaafa",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 250
  },
  "hsl": {
    "h": 265.5,
    "s": 88.889,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79649,
    "c": 0.11618,
    "h": 303.4
  },
  "luminance": 0.48489
}

Semantic roles & 50–950 ramp

primary
#CCAAFA
secondary
#E8F5D6
accent
#E60084
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CCAAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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