#CC8BEF#CC8BEF

#CC8BEF is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.8% C 0.154 H 313.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CC8BEF
RGBrgb(204, 139, 239)
HSLhsl(279, 76%, 74%)
HSVhsv(279, 42%, 94%)
CMYKcmyk(14.6%, 41.8%, 0%, 6.3%)
CIE-LABlab(67.68, 42.17, -40.80)
CIE-LCHlch(67.68, 58.68, 315.95°)
OKLaboklab(73.85% 0.1053 -0.113)
OKLCHoklch(73.85% 0.154 313)
XYZxyz(49.7118, 37.5356, 86.2710)
Luminance0.3754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BEF #AEEF8B
analogous
#9A8BEF #CC8BEF #EF8BE0
triadic
#CC8BEF #EFCC8B #8BEFCC
tetradic
#CC8BEF #EF9A8B #AEEF8B #8BE0EF
square
#CC8BEF #EF9A8B #AEEF8B #8BE0EF
split-complementary
#CC8BEF #E0EF8B #8BEF9A
monochromatic
#9D1FE0 #B455E8 #CC8BEF #E4C1F6 #F3E4FB

Accessibility & contrast

On white

2.47
#CC8BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#CC8BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BEF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BEF#FFFFFF#000000##000000
##CC8BEF1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#C999B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8bef;
/* rgb */ color: rgb(204, 139, 239);
/* oklch */ color: oklch(73.8% 0.154 313.0);
Tailwind
colors: {
  custom: {
    50: '#ddaef4',
    500: '#cc8bef',
    950: '#000000',
  },
}
SCSS
$custom: #cc8bef;
$custom-light: #ddaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8bef",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 279,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73849,
    "c": 0.1544,
    "h": 313
  },
  "luminance": 0.37535
}

Semantic roles & 50–950 ramp

primary
#CC8BEF
secondary
#E1F3D8
accent
#D80E54
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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