#CCB7FF#CCB7FF

#CCB7FF is a very light, moderate violet. Relative luminance 0.539; OKLCH L 82.2% C 0.102 H 297.5°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CCB7FF
RGBrgb(204, 183, 255)
HSLhsl(258, 100%, 86%)
HSVhsv(258, 28%, 100%)
CMYKcmyk(20%, 28.2%, 0%, 0%)
CIE-LABlab(78.42, 21.66, -32.80)
CIE-LCHlch(78.42, 39.31, 303.44°)
OKLaboklab(82.23% 0.047 -0.0903)
OKLCHoklch(82.23% 0.102 297.5)
XYZxyz(59.8813, 53.9240, 101.8420)
Luminance0.5392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB7FF #EAFFB7
analogous
#B7C6FF #CCB7FF #F0B7FF
triadic
#CCB7FF #FFCCB7 #B7FFCC
tetradic
#CCB7FF #FFB7C6 #EAFFB7 #B7FFF0
square
#CCB7FF #FFB7C6 #EAFFB7 #B7FFF0
split-complementary
#CCB7FF #FFF0B7 #C6FFB7
monochromatic
#753DFF #A17AFF #CCB7FF #E9E0FF #E9E0FF

Accessibility & contrast

On white

1.78
#CCB7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CCB7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB7FF
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB7FF#FFFFFF#000000##000000
##CCB7FF1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C2FF
Deuteranopia (green-blind)
#AAC1FD
Tritanopia (blue-blind)
#C3C2D0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccb7ff;
/* rgb */ color: rgb(204, 183, 255);
/* oklch */ color: oklch(82.2% 0.102 297.5);
Tailwind
colors: {
  custom: {
    50: '#dcccff',
    500: '#ccb7ff',
    950: '#000000',
  },
}
SCSS
$custom: #ccb7ff;
$custom-light: #dcccff;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb7ff",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 255
  },
  "hsl": {
    "h": 257.5,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.82232,
    "c": 0.10181,
    "h": 297.5
  },
  "luminance": 0.53924
}

Semantic roles & 50–950 ramp

primary
#CCB7FF
secondary
#C5E674
accent
#E600A3
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CCB7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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