#CC6BF7#CC6BF7

#CC6BF7 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 69.6% C 0.213 H 314.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CC6BF7
RGBrgb(204, 107, 247)
HSLhsl(282, 90%, 69%)
HSVhsv(282, 57%, 97%)
CMYKcmyk(17.4%, 56.7%, 0%, 3.1%)
CIE-LABlab(61.71, 60.26, -54.61)
CIE-LCHlch(61.71, 81.32, 317.81°)
OKLaboklab(69.55% 0.1488 -0.1529)
OKLCHoklch(69.55% 0.213 314.2)
XYZxyz(46.9453, 30.0695, 91.3087)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6BF7 #96F76B
analogous
#866BF7 #CC6BF7 #F76BDC
triadic
#CC6BF7 #F7CC6B #6BF7CC
tetradic
#CC6BF7 #F7866B #96F76B #6BDCF7
square
#CC6BF7 #F7866B #96F76B #6BDCF7
split-complementary
#CC6BF7 #DCF76B #6BF786
monochromatic
#9C0CDC #B831F4 #CC6BF7 #E0A5FA #F4DFFD

Accessibility & contrast

On white

2.99
#CC6BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#CC6BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6BF7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6BF7#FFFFFF#000000##000000
##CC6BF71.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FB
Deuteranopia (green-blind)
#6798F3
Tritanopia (blue-blind)
#C883A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6bf7;
/* rgb */ color: rgb(204, 107, 247);
/* oklch */ color: oklch(69.6% 0.213 314.2);
Tailwind
colors: {
  custom: {
    50: '#df99fa',
    500: '#cc6bf7',
    950: '#000000',
  },
}
SCSS
$custom: #cc6bf7;
$custom-light: #df99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6bf7",
  "rgb": {
    "r": 204,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 281.571,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69554,
    "c": 0.21334,
    "h": 314.2
  },
  "luminance": 0.30068
}

Semantic roles & 50–950 ramp

primary
#CC6BF7
secondary
#D7F3CB
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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