#CC6EFB#CC6EFB

#CC6EFB is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.2% C 0.213 H 313.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CC6EFB
RGBrgb(204, 110, 251)
HSLhsl(280, 95%, 71%)
HSVhsv(280, 56%, 98%)
CMYKcmyk(18.7%, 56.2%, 0%, 1.6%)
CIE-LABlab(62.47, 59.63, -55.62)
CIE-LCHlch(62.47, 81.54, 316.99°)
OKLaboklab(70.18% 0.1452 -0.1558)
OKLCHoklch(70.18% 0.213 313)
XYZxyz(47.8874, 30.9555, 94.7005)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EFB #9DFB6E
analogous
#856EFB #CC6EFB #FB6EE3
triadic
#CC6EFB #FBCC6E #6EFBCC
tetradic
#CC6EFB #FB856E #9DFB6E #6EE3FB
square
#CC6EFB #FB856E #9DFB6E #6EE3FB
split-complementary
#CC6EFB #E3FB6E #6EFB85
monochromatic
#9D06E8 #B732F9 #CC6EFB #E1AAFD #F5E1FE

Accessibility & contrast

On white

2.92
#CC6EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CC6EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6EFB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EFB#FFFFFF#000000##000000
##CC6EFB1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#C786AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc6efb;
/* rgb */ color: rgb(204, 110, 251);
/* oklch */ color: oklch(70.2% 0.213 313.0);
Tailwind
colors: {
  custom: {
    50: '#df9bfd',
    500: '#cc6efb',
    950: '#000000',
  },
}
SCSS
$custom: #cc6efb;
$custom-light: #df9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6efb",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 280,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70175,
    "c": 0.21301,
    "h": 313
  },
  "luminance": 0.30954
}

Semantic roles & 50–950 ramp

primary
#CC6EFB
secondary
#DCF5CF
accent
#E6004C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CC6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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