#CC8FED#CC8FED

#CC8FED is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.4% C 0.145 H 313.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CC8FED
RGBrgb(204, 143, 237)
HSLhsl(279, 72%, 75%)
HSVhsv(279, 40%, 93%)
CMYKcmyk(13.9%, 39.7%, 0%, 7.1%)
CIE-LABlab(68.46, 39.60, -38.48)
CIE-LCHlch(68.46, 55.22, 315.82°)
OKLaboklab(74.41% 0.0992 -0.1063)
OKLCHoklch(74.41% 0.145 313)
XYZxyz(50.0078, 38.5977, 84.9201)
Luminance0.3860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FED #B0ED8F
analogous
#9D8FED #CC8FED #ED8FDF
triadic
#CC8FED #EDCC8F #8FEDCC
tetradic
#CC8FED #ED9D8F #B0ED8F #8FDFED
square
#CC8FED #ED9D8F #B0ED8F #8FDFED
split-complementary
#CC8FED #DFED8F #8FED9D
monochromatic
#9C26DC #B45AE5 #CC8FED #E4C4F5 #F3E5FB

Accessibility & contrast

On white

2.41
#CC8FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CC8FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FED
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FED#FFFFFF#000000##000000
##CC8FED1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F0
Deuteranopia (green-blind)
#8DA8EA
Tritanopia (blue-blind)
#C99CB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc8fed;
/* rgb */ color: rgb(204, 143, 237);
/* oklch */ color: oklch(74.4% 0.145 313.0);
Tailwind
colors: {
  custom: {
    50: '#ddb1f3',
    500: '#cc8fed',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fed;
$custom-light: #ddb1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fed",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 278.936,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74408,
    "c": 0.14543,
    "h": 313
  },
  "luminance": 0.38597
}

Semantic roles & 50–950 ramp

primary
#CC8FED
secondary
#E2F2D9
accent
#D41156
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CC8FED

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

Preview Lab → · Contrast checker → · Palette generator →

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