#CC8BFC#CC8BFC

#CC8BFC is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.5% C 0.169 H 309.4°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#CC8BFC
RGBrgb(204, 139, 252)
HSLhsl(275, 95%, 77%)
HSVhsv(275, 45%, 99%)
CMYKcmyk(19%, 44.8%, 0%, 1.2%)
CIE-LABlab(68.26, 44.95, -46.99)
CIE-LCHlch(68.26, 65.03, 313.72°)
OKLaboklab(74.48% 0.1074 -0.1309)
OKLCHoklch(74.48% 0.169 309.4)
XYZxyz(51.7019, 38.3316, 96.7517)
Luminance0.3833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BFC #BBFC8B
analogous
#948BFC #CC8BFC #FC8BF4
triadic
#CC8BFC #FCCC8B #8BFCCC
tetradic
#CC8BFC #FC948B #BBFC8B #8BF4FC
square
#CC8BFC #FC948B #BBFC8B #8BF4FC
split-complementary
#CC8BFC #F4FC8B #8BFC94
monochromatic
#9814F9 #B24FFA #CC8BFC #E6C7FE #F2E1FE

Accessibility & contrast

On white

2.42
#CC8BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#CC8BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BFC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BFC#FFFFFF#000000##000000
##CC8BFC1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#82A7F9
Tritanopia (blue-blind)
#C69DB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc8bfc;
/* rgb */ color: rgb(204, 139, 252);
/* oklch */ color: oklch(74.5% 0.169 309.4);
Tailwind
colors: {
  custom: {
    50: '#ddaefe',
    500: '#cc8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #cc8bfc;
$custom-light: #ddaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8bfc",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 274.513,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74481,
    "c": 0.16928,
    "h": 309.4
  },
  "luminance": 0.38331
}

Semantic roles & 50–950 ramp

primary
#CC8BFC
secondary
#E3F6D5
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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