#CCC2FB#CCC2FB

#CCC2FB is a very light, moderate violet. Relative luminance 0.584; OKLCH L 84.1% C 0.079 H 292.7°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#CCC2FB
RGBrgb(204, 194, 251)
HSLhsl(251, 88%, 87%)
HSVhsv(251, 23%, 98%)
CMYKcmyk(18.7%, 22.7%, 0%, 1.6%)
CIE-LABlab(80.95, 14.80, -26.77)
CIE-LCHlch(80.95, 30.59, 298.94°)
OKLaboklab(84.14% 0.0306 -0.0733)
OKLCHoklch(84.14% 0.079 292.7)
XYZxyz(61.6023, 58.3854, 99.2721)
Luminance0.5839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC2FB #F1FBC2
analogous
#C2D5FB #CCC2FB #E8C2FB
triadic
#CCC2FB #FBCCC2 #C2FBCC
tetradic
#CCC2FB #FBC2D5 #F1FBC2 #C2FBE8
square
#CCC2FB #FBC2D5 #F1FBC2 #C2FBE8
split-complementary
#CCC2FB #FBE8C2 #D5FBC2
monochromatic
#6C4FF3 #9C89F7 #CCC2FB #E7E2FD #E7E2FD

Accessibility & contrast

On white

1.66
#CCC2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#CCC2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC2FB
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC2FB#FFFFFF#000000##000000
##CCC2FB1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5CAFD
Deuteranopia (green-blind)
#B6C8F9
Tritanopia (blue-blind)
#C3CBD6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccc2fb;
/* rgb */ color: rgb(204, 194, 251);
/* oklch */ color: oklch(84.1% 0.079 292.7);
Tailwind
colors: {
  custom: {
    50: '#dcd4fc',
    500: '#ccc2fb',
    950: '#000000',
  },
}
SCSS
$custom: #ccc2fb;
$custom-light: #dcd4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc2fb",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 251
  },
  "hsl": {
    "h": 250.526,
    "s": 87.692,
    "l": 87.255
  },
  "oklch": {
    "l": 0.84141,
    "c": 0.07942,
    "h": 292.7
  },
  "luminance": 0.58386
}

Semantic roles & 50–950 ramp

primary
#CCC2FB
secondary
#D0E180
accent
#E401BC
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151417
muted
#848385

Preview Lab

Preview with #CCC2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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