#CCB2F7#CCB2F7

#CCB2F7 is a light, moderate violet. Relative luminance 0.514; OKLCH L 81.0% C 0.099 H 301.5°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CCB2F7
RGBrgb(204, 178, 247)
HSLhsl(263, 81%, 83%)
HSVhsv(263, 28%, 97%)
CMYKcmyk(17.4%, 27.9%, 0%, 3.1%)
CIE-LABlab(76.92, 22.64, -30.82)
CIE-LCHlch(76.92, 38.24, 306.30°)
OKLaboklab(80.98% 0.0519 -0.0846)
OKLCHoklch(80.98% 0.099 301.5)
XYZxyz(57.6073, 51.3935, 94.8627)
Luminance0.5139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB2F7 #DDF7B2
analogous
#B2BAF7 #CCB2F7 #EEB2F7
triadic
#CCB2F7 #F7CCB2 #B2F7CC
tetradic
#CCB2F7 #F7B2BA #DDF7B2 #B2F7EE
square
#CCB2F7 #F7B2BA #DDF7B2 #B2F7EE
split-complementary
#CCB2F7 #F7EEB2 #BAF7B2
monochromatic
#8343EB #A77BF1 #CCB2F7 #EDE3FC #EDE3FC

Accessibility & contrast

On white

1.86
#CCB2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#CCB2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB2F7
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB2F7#FFFFFF#000000##000000
##CCB2F71.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BDFA
Deuteranopia (green-blind)
#A8BEF5
Tritanopia (blue-blind)
#C5BCCA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccb2f7;
/* rgb */ color: rgb(204, 178, 247);
/* oklch */ color: oklch(81.0% 0.099 301.5);
Tailwind
colors: {
  custom: {
    50: '#dcc9fa',
    500: '#ccb2f7',
    950: '#000000',
  },
}
SCSS
$custom: #ccb2f7;
$custom-light: #dcc9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb2f7",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 247
  },
  "hsl": {
    "h": 262.609,
    "s": 81.176,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80979,
    "c": 0.09925,
    "h": 301.5
  },
  "luminance": 0.51394
}

Semantic roles & 50–950 ramp

primary
#CCB2F7
secondary
#B3D974
accent
#DE088D
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CCB2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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