#CCB7FA#CCB7FA

#CCB7FA is a very light, moderate violet. Relative luminance 0.536; OKLCH L 82.0% C 0.095 H 298.7°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CCB7FA
RGBrgb(204, 183, 250)
HSLhsl(259, 87%, 85%)
HSVhsv(259, 27%, 98%)
CMYKcmyk(18.4%, 26.8%, 0%, 2%)
CIE-LABlab(78.23, 20.56, -30.41)
CIE-LCHlch(78.23, 36.71, 304.06°)
OKLaboklab(82.03% 0.0457 -0.0835)
OKLCHoklch(82.03% 0.095 298.7)
XYZxyz(59.0869, 53.6062, 97.6581)
Luminance0.5361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB7FA #E5FAB7
analogous
#B7C4FA #CCB7FA #EEB7FA
triadic
#CCB7FA #FACCB7 #B7FACC
tetradic
#CCB7FA #FAB7C4 #E5FAB7 #B7FAEE
square
#CCB7FA #FAB7C4 #E5FAB7 #B7FAEE
split-complementary
#CCB7FA #FAEEB7 #C4FAB7
monochromatic
#7B45F2 #A37EF6 #CCB7FA #EBE2FD #EBE2FD

Accessibility & contrast

On white

1.79
#CCB7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#CCB7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB7FA
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB7FA#FFFFFF#000000##000000
##CCB7FA1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C1FD
Deuteranopia (green-blind)
#ACC1F8
Tritanopia (blue-blind)
#C4C1CF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccb7fa;
/* rgb */ color: rgb(204, 183, 250);
/* oklch */ color: oklch(82.0% 0.095 298.7);
Tailwind
colors: {
  custom: {
    50: '#dcccfc',
    500: '#ccb7fa',
    950: '#000000',
  },
}
SCSS
$custom: #ccb7fa;
$custom-light: #dcccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb7fa",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 258.806,
    "s": 87.013,
    "l": 84.902
  },
  "oklch": {
    "l": 0.82027,
    "c": 0.09516,
    "h": 298.7
  },
  "luminance": 0.53606
}

Semantic roles & 50–950 ramp

primary
#CCB7FA
secondary
#BEDE77
accent
#E4029D
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CCB7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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