#CC8FE2#CC8FE2

#CC8FE2 is a light, vivid purple. Relative luminance 0.380; OKLCH L 73.9% C 0.133 H 316.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CC8FE2
RGBrgb(204, 143, 226)
HSLhsl(284, 59%, 72%)
HSVhsv(284, 37%, 89%)
CMYKcmyk(9.7%, 36.7%, 0%, 11.4%)
CIE-LABlab(68.00, 37.34, -33.13)
CIE-LCHlch(68.00, 49.92, 318.41°)
OKLaboklab(73.91% 0.0969 -0.091)
OKLCHoklch(73.91% 0.133 316.8)
XYZxyz(48.4498, 37.9745, 76.7143)
Luminance0.3797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FE2 #A5E28F
analogous
#A28FE2 #CC8FE2 #E28FCF
triadic
#CC8FE2 #E2CC8F #8FE2CC
tetradic
#CC8FE2 #E2A28F #A5E28F #8FCFE2
square
#CC8FE2 #E2A28F #A5E28F #8FCFE2
split-complementary
#CC8FE2 #CFE28F #8FE2A2
monochromatic
#9D33C4 #B65ED5 #CC8FE2 #E2C0EF #F4E7F9

Accessibility & contrast

On white

2.44
#CC8FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#CC8FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FE2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FE2#FFFFFF#000000##000000
##CC8FE21.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E5
Deuteranopia (green-blind)
#91A8DF
Tritanopia (blue-blind)
#CC99AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc8fe2;
/* rgb */ color: rgb(204, 143, 226);
/* oklch */ color: oklch(73.9% 0.133 316.8);
Tailwind
colors: {
  custom: {
    50: '#dcb0eb',
    500: '#cc8fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fe2;
$custom-light: #dcb0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fe2",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 284.096,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73913,
    "c": 0.13296,
    "h": 316.8
  },
  "luminance": 0.37973
}

Semantic roles & 50–950 ramp

primary
#CC8FE2
secondary
#E1F0DB
accent
#C61F4B
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CC8FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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