#CC8CFD#CC8CFD

#CC8CFD is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.7% C 0.169 H 309.0°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CC8CFD
RGBrgb(204, 140, 253)
HSLhsl(274, 97%, 77%)
HSVhsv(274, 45%, 99%)
CMYKcmyk(19.4%, 44.7%, 0%, 0.8%)
CIE-LABlab(68.52, 44.63, -47.13)
CIE-LCHlch(68.52, 64.91, 313.44°)
OKLaboklab(74.69% 0.1062 -0.1313)
OKLCHoklch(74.69% 0.169 309)
XYZxyz(52.0062, 38.6861, 97.6369)
Luminance0.3869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CFD #BDFD8C
analogous
#948CFD #CC8CFD #FD8CF6
triadic
#CC8CFD #FDCC8C #8CFDCC
tetradic
#CC8CFD #FD948C #BDFD8C #8CF6FD
square
#CC8CFD #FD948C #BDFD8C #8CF6FD
split-complementary
#CC8CFD #F6FD8C #8CFD94
monochromatic
#9714FB #B150FC #CC8CFD #E7C8FE #F2E1FE

Accessibility & contrast

On white

2.40
#CC8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#CC8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CFD
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CFD#FFFFFF#000000##000000
##CC8CFD1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#C69EB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc8cfd;
/* rgb */ color: rgb(204, 140, 253);
/* oklch */ color: oklch(74.7% 0.169 309.0);
Tailwind
colors: {
  custom: {
    50: '#ddaffe',
    500: '#cc8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cc8cfd;
$custom-light: #ddaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8cfd",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 273.982,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7469,
    "c": 0.16883,
    "h": 309
  },
  "luminance": 0.38685
}

Semantic roles & 50–950 ramp

primary
#CC8CFD
secondary
#E3F7D4
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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