#CC8FFB#CC8FFB

#CC8FFB is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.1% C 0.162 H 309.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CC8FFB
RGBrgb(204, 143, 251)
HSLhsl(274, 93%, 77%)
HSVhsv(274, 43%, 98%)
CMYKcmyk(18.7%, 43%, 0%, 1.6%)
CIE-LABlab(69.07, 42.59, -45.18)
CIE-LCHlch(69.07, 62.09, 313.31°)
OKLaboklab(75.07% 0.1017 -0.1256)
OKLCHoklch(75.07% 0.162 309)
XYZxyz(52.1336, 39.4480, 96.1159)
Luminance0.3945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FFB #BEFB8F
analogous
#968FFB #CC8FFB #FB8FF4
triadic
#CC8FFB #FBCC8F #8FFBCC
tetradic
#CC8FFB #FB968F #BEFB8F #8FF4FB
square
#CC8FFB #FB968F #BEFB8F #8FF4FB
split-complementary
#CC8FFB #F4FB8F #8FFB96
monochromatic
#9619F7 #B154F9 #CC8FFB #E7CAFD #F2E1FE

Accessibility & contrast

On white

2.36
#CC8FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#CC8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FFB
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FFB#FFFFFF#000000##000000
##CC8FFB1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#86AAF8
Tritanopia (blue-blind)
#C6A0B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc8ffb;
/* rgb */ color: rgb(204, 143, 251);
/* oklch */ color: oklch(75.1% 0.162 309.0);
Tailwind
colors: {
  custom: {
    50: '#ddb1fd',
    500: '#cc8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ffb;
$custom-light: #ddb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ffb",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 273.889,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75073,
    "c": 0.16166,
    "h": 309
  },
  "luminance": 0.39447
}

Semantic roles & 50–950 ramp

primary
#CC8FFB
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CC8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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