#CCB7EA#CCB7EA

#CCB7EA is a light, moderate violet. Relative luminance 0.526; OKLCH L 81.4% C 0.074 H 303.6°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CCB7EA
RGBrgb(204, 183, 234)
HSLhsl(265, 55%, 82%)
HSVhsv(265, 22%, 92%)
CMYKcmyk(12.8%, 21.8%, 0%, 8.2%)
CIE-LABlab(77.66, 17.14, -22.66)
CIE-LCHlch(77.66, 28.41, 307.09°)
OKLaboklab(81.4% 0.0409 -0.0617)
OKLCHoklch(81.4% 0.074 303.6)
XYZxyz(56.6837, 52.6449, 85.0012)
Luminance0.5264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB7EA #D5EAB7
analogous
#B7BCEA #CCB7EA #E6B7EA
triadic
#CCB7EA #EACCB7 #B7EACC
tetradic
#CCB7EA #EAB7BC #D5EAB7 #B7EAE6
square
#CCB7EA #EAB7BC #D5EAB7 #B7EAE6
split-complementary
#CCB7EA #EAE6B7 #BCEAB7
monochromatic
#8958CE #AA88DC #CCB7EA #EEE6F8 #EEE7F8

Accessibility & contrast

On white

1.82
#CCB7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CCB7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB7EA
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB7EA#FFFFFF#000000##000000
##CCB7EA1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEBFEC
Deuteranopia (green-blind)
#B1C0E8
Tritanopia (blue-blind)
#C8BEC8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccb7ea;
/* rgb */ color: rgb(204, 183, 234);
/* oklch */ color: oklch(81.4% 0.074 303.6);
Tailwind
colors: {
  custom: {
    50: '#dcccf0',
    500: '#ccb7ea',
    950: '#000000',
  },
}
SCSS
$custom: #ccb7ea;
$custom-light: #dcccf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb7ea",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 234
  },
  "hsl": {
    "h": 264.706,
    "s": 54.839,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81403,
    "c": 0.07403,
    "h": 303.6
  },
  "luminance": 0.52645
}

Semantic roles & 50–950 ramp

primary
#CCB7EA
secondary
#A9C67F
accent
#C22381
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CCB7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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