#CC6BF2#CC6BF2

#CC6BF2 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.3% C 0.208 H 315.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CC6BF2
RGBrgb(204, 107, 242)
HSLhsl(283, 84%, 68%)
HSVhsv(283, 56%, 95%)
CMYKcmyk(15.7%, 55.8%, 0%, 5.1%)
CIE-LABlab(61.45, 59.25, -52.26)
CIE-LCHlch(61.45, 79.00, 318.58°)
OKLaboklab(69.28% 0.1486 -0.146)
OKLCHoklch(69.28% 0.208 315.5)
XYZxyz(46.1841, 29.7650, 87.2996)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6BF2 #91F26B
analogous
#886BF2 #CC6BF2 #F26BD4
triadic
#CC6BF2 #F2CC6B #6BF2CC
tetradic
#CC6BF2 #F2886B #91F26B #6BD4F2
square
#CC6BF2 #F2886B #91F26B #6BD4F2
split-complementary
#CC6BF2 #D4F26B #6BF288
monochromatic
#9B12D0 #B933ED #CC6BF2 #DFA3F7 #F3DCFC

Accessibility & contrast

On white

3.02
#CC6BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CC6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6BF2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6BF2#FFFFFF#000000##000000
##CC6BF21.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#CA81A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6bf2;
/* rgb */ color: rgb(204, 107, 242);
/* oklch */ color: oklch(69.3% 0.208 315.5);
Tailwind
colors: {
  custom: {
    50: '#de99f7',
    500: '#cc6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cc6bf2;
$custom-light: #de99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6bf2",
  "rgb": {
    "r": 204,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 283.111,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69276,
    "c": 0.20832,
    "h": 315.5
  },
  "luminance": 0.29764
}

Semantic roles & 50–950 ramp

primary
#CC6BF2
secondary
#D4F1C8
accent
#E00543
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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