#CC8EFD#CC8EFD

#CC8EFD is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.0% C 0.166 H 308.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CC8EFD
RGBrgb(204, 142, 253)
HSLhsl(274, 97%, 77%)
HSVhsv(274, 44%, 99%)
CMYKcmyk(19.4%, 43.9%, 0%, 0.8%)
CIE-LABlab(68.95, 43.56, -46.46)
CIE-LCHlch(68.95, 63.69, 313.15°)
OKLaboklab(75.01% 0.1034 -0.1293)
OKLCHoklch(75.01% 0.166 308.7)
XYZxyz(52.3011, 39.2759, 97.7352)
Luminance0.3927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EFD #BFFD8E
analogous
#958EFD #CC8EFD #FD8EF6
triadic
#CC8EFD #FDCC8E #8EFDCC
tetradic
#CC8EFD #FD958E #BFFD8E #8EF6FD
square
#CC8EFD #FD958E #BFFD8E #8EF6FD
split-complementary
#CC8EFD #F6FD8E #8EFD95
monochromatic
#9616FB #B152FC #CC8EFD #E7CAFE #F1E1FE

Accessibility & contrast

On white

2.37
#CC8EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CC8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EFD
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EFD#FFFFFF#000000##000000
##CC8EFD1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#C6A0BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc8efd;
/* rgb */ color: rgb(204, 142, 253);
/* oklch */ color: oklch(75.0% 0.166 308.7);
Tailwind
colors: {
  custom: {
    50: '#ddb0fe',
    500: '#cc8efd',
    950: '#000000',
  },
}
SCSS
$custom: #cc8efd;
$custom-light: #ddb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8efd",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 273.514,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7501,
    "c": 0.16562,
    "h": 308.7
  },
  "luminance": 0.39275
}

Semantic roles & 50–950 ramp

primary
#CC8EFD
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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