#CC8FF6#CC8FF6

#CC8FF6 is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.8% C 0.156 H 310.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CC8FF6
RGBrgb(204, 143, 246)
HSLhsl(276, 85%, 76%)
HSVhsv(276, 42%, 96%)
CMYKcmyk(17.1%, 41.9%, 0%, 3.5%)
CIE-LABlab(68.85, 41.51, -42.80)
CIE-LCHlch(68.85, 59.62, 314.12°)
OKLaboklab(74.83% 0.1009 -0.1187)
OKLCHoklch(74.83% 0.156 310.4)
XYZxyz(51.3558, 39.1369, 92.0197)
Luminance0.3914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FF6 #B9F68F
analogous
#998FF6 #CC8FF6 #F68FED
triadic
#CC8FF6 #F6CC8F #8FF6CC
tetradic
#CC8FF6 #F6998F #B9F68F #8FEDF6
square
#CC8FF6 #F6998F #B9F68F #8FEDF6
split-complementary
#CC8FF6 #EDF68F #8FF699
monochromatic
#981EED #B256F1 #CC8FF6 #E6C8FB #F2E3FD

Accessibility & contrast

On white

2.38
#CC8FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CC8FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FF6
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FF6#FFFFFF#000000##000000
##CC8FF61.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FA
Deuteranopia (green-blind)
#88A9F3
Tritanopia (blue-blind)
#C79FB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc8ff6;
/* rgb */ color: rgb(204, 143, 246);
/* oklch */ color: oklch(74.8% 0.156 310.4);
Tailwind
colors: {
  custom: {
    50: '#ddb1f9',
    500: '#cc8ff6',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ff6;
$custom-light: #ddb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ff6",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 275.534,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74831,
    "c": 0.15583,
    "h": 310.4
  },
  "luminance": 0.39136
}

Semantic roles & 50–950 ramp

primary
#CC8FF6
secondary
#E3F5D6
accent
#E2045E
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CC8FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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