#CC6FFB#CC6FFB

#CC6FFB is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.3% C 0.212 H 312.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CC6FFB
RGBrgb(204, 111, 251)
HSLhsl(280, 95%, 71%)
HSVhsv(280, 56%, 98%)
CMYKcmyk(18.7%, 55.8%, 0%, 1.6%)
CIE-LABlab(62.65, 59.14, -55.33)
CIE-LCHlch(62.65, 80.98, 316.91°)
OKLaboklab(70.31% 0.144 -0.155)
OKLCHoklch(70.31% 0.212 312.9)
XYZxyz(47.9959, 31.1725, 94.7366)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FFB #9EFB6F
analogous
#866FFB #CC6FFB #FB6FE4
triadic
#CC6FFB #FBCC6F #6FFBCC
tetradic
#CC6FFB #FB866F #9EFB6F #6FE4FB
square
#CC6FFB #FB866F #9EFB6F #6FE4FB
split-complementary
#CC6FFB #E4FB6F #6FFB86
monochromatic
#9D06E9 #B733F9 #CC6FFB #E1ABFD #F4E1FE

Accessibility & contrast

On white

2.90
#CC6FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CC6FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FFB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FFB#FFFFFF#000000##000000
##CC6FFB1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#689AF7
Tritanopia (blue-blind)
#C787AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc6ffb;
/* rgb */ color: rgb(204, 111, 251);
/* oklch */ color: oklch(70.3% 0.212 312.9);
Tailwind
colors: {
  custom: {
    50: '#df9cfd',
    500: '#cc6ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ffb;
$custom-light: #df9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ffb",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 279.857,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70309,
    "c": 0.21155,
    "h": 312.9
  },
  "luminance": 0.31171
}

Semantic roles & 50–950 ramp

primary
#CC6FFB
secondary
#DDF6D0
accent
#E6004D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CC6FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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