#CC7BF6#CC7BF6

#CC7BF6 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.7% C 0.188 H 313.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CC7BF6
RGBrgb(204, 123, 246)
HSLhsl(280, 87%, 72%)
HSVhsv(280, 50%, 96%)
CMYKcmyk(17.1%, 50%, 0%, 3.5%)
CIE-LABlab(64.69, 52.07, -49.34)
CIE-LCHlch(64.69, 71.73, 316.54°)
OKLaboklab(71.73% 0.1282 -0.1376)
OKLCHoklch(71.73% 0.188 313)
XYZxyz(48.6165, 33.6583, 91.1066)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BF6 #A5F67B
analogous
#8E7BF6 #CC7BF6 #F67BE3
triadic
#CC7BF6 #F6CC7B #7BF6CC
tetradic
#CC7BF6 #F68E7B #A5F67B #7BE3F6
square
#CC7BF6 #F68E7B #A5F67B #7BE3F6
split-complementary
#CC7BF6 #E3F67B #7BF68E
monochromatic
#9D10E7 #B642F2 #CC7BF6 #E2B4FA #F4E2FD

Accessibility & contrast

On white

2.72
#CC7BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CC7BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BF6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BF6#FFFFFF#000000##000000
##CC7BF61.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#C88FAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc7bf6;
/* rgb */ color: rgb(204, 123, 246);
/* oklch */ color: oklch(71.7% 0.188 313.0);
Tailwind
colors: {
  custom: {
    50: '#dea3f9',
    500: '#cc7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bf6;
$custom-light: #dea3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bf6",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 279.512,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71727,
    "c": 0.18805,
    "h": 313
  },
  "luminance": 0.33657
}

Semantic roles & 50–950 ramp

primary
#CC7BF6
secondary
#E1F5D6
accent
#E4024F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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