#CCB0FE#CCB0FE

#CCB0FE is a light, moderate violet. Relative luminance 0.510; OKLCH L 80.9% C 0.112 H 300.4°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#CCB0FE
RGBrgb(204, 176, 254)
HSLhsl(262, 98%, 84%)
HSVhsv(262, 31%, 100%)
CMYKcmyk(19.7%, 30.7%, 0%, 0.4%)
CIE-LABlab(76.71, 25.27, -34.91)
CIE-LCHlch(76.71, 43.09, 305.90°)
OKLaboklab(80.91% 0.0565 -0.0963)
OKLCHoklch(80.91% 0.112 300.4)
XYZxyz(58.3127, 51.0436, 100.5270)
Luminance0.5104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB0FE #E2FEB0
analogous
#B0BBFE #CCB0FE #F3B0FE
triadic
#CCB0FE #FECCB0 #B0FECC
tetradic
#CCB0FE #FEB0BB #E2FEB0 #B0FEF3
square
#CCB0FE #FEB0BB #E2FEB0 #B0FEF3
split-complementary
#CCB0FE #FEF3B0 #BBFEB0
monochromatic
#7E37FC #A574FD #CCB0FE #EBE1FF #EBE1FF

Accessibility & contrast

On white

1.87
#CCB0FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#CCB0FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB0FE
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB0FE#FFFFFF#000000##000000
##CCB0FE1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#A4BDFC
Tritanopia (blue-blind)
#C3BCCC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccb0fe;
/* rgb */ color: rgb(204, 176, 254);
/* oklch */ color: oklch(80.9% 0.112 300.4);
Tailwind
colors: {
  custom: {
    50: '#dcc7ff',
    500: '#ccb0fe',
    950: '#000000',
  },
}
SCSS
$custom: #ccb0fe;
$custom-light: #dcc7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb0fe",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 254
  },
  "hsl": {
    "h": 261.538,
    "s": 97.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.80905,
    "c": 0.11163,
    "h": 300.4
  },
  "luminance": 0.51044
}

Semantic roles & 50–950 ramp

primary
#CCB0FE
secondary
#BAE46E
accent
#E60093
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CCB0FE

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

Preview Lab → · Contrast checker → · Palette generator →

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