#CCAFFA#CCAFFA

#CCAFFA is a light, moderate violet. Relative luminance 0.504; OKLCH L 80.6% C 0.108 H 301.8°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#CCAFFA
RGBrgb(204, 175, 250)
HSLhsl(263, 88%, 83%)
HSVhsv(263, 30%, 98%)
CMYKcmyk(18.4%, 30%, 0%, 2%)
CIE-LABlab(76.31, 24.93, -33.36)
CIE-LCHlch(76.31, 41.65, 306.77°)
OKLaboklab(80.55% 0.0569 -0.0918)
OKLCHoklch(80.55% 0.108 301.8)
XYZxyz(57.4835, 50.3994, 97.1236)
Luminance0.5040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFFA #DDFAAF
analogous
#AFB7FA #CCAFFA #F1AFFA
triadic
#CCAFFA #FACCAF #AFFACC
tetradic
#CCAFFA #FAAFB7 #DDFAAF #AFFAF1
square
#CCAFFA #FAAFB7 #DDFAAF #AFFAF1
split-complementary
#CCAFFA #FAF1AF #B7FAAF
monochromatic
#833CF3 #A775F6 #CCAFFA #EDE2FD #EDE2FD

Accessibility & contrast

On white

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

On black

11.08
#CCAFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFFA
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFFA#FFFFFF#000000##000000
##CCAFFA1.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBCFD
Deuteranopia (green-blind)
#A4BCF8
Tritanopia (blue-blind)
#C4BACA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccaffa;
/* rgb */ color: rgb(204, 175, 250);
/* oklch */ color: oklch(80.6% 0.108 301.8);
Tailwind
colors: {
  custom: {
    50: '#dcc7fc',
    500: '#ccaffa',
    950: '#000000',
  },
}
SCSS
$custom: #ccaffa;
$custom-light: #dcc7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaffa",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 263.2,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80553,
    "c": 0.10803,
    "h": 301.8
  },
  "luminance": 0.50399
}

Semantic roles & 50–950 ramp

primary
#CCAFFA
secondary
#B3DD70
accent
#E5018D
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CCAFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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