#CC8EFB#CC8EFB

#CC8EFB is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.9% C 0.163 H 309.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CC8EFB
RGBrgb(204, 142, 251)
HSLhsl(274, 93%, 77%)
HSVhsv(274, 43%, 98%)
CMYKcmyk(18.7%, 43.4%, 0%, 1.6%)
CIE-LABlab(68.86, 43.13, -45.51)
CIE-LCHlch(68.86, 62.70, 313.46°)
OKLaboklab(74.91% 0.1031 -0.1266)
OKLCHoklch(74.91% 0.163 309.2)
XYZxyz(51.9842, 39.1491, 96.0661)
Luminance0.3915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EFB #BDFB8E
analogous
#968EFB #CC8EFB #FB8EF4
triadic
#CC8EFB #FBCC8E #8EFBCC
tetradic
#CC8EFB #FB968E #BDFB8E #8EF4FB
square
#CC8EFB #FB968E #BDFB8E #8EF4FB
split-complementary
#CC8EFB #F4FB8E #8EFB96
monochromatic
#9718F7 #B153F9 #CC8EFB #E7C9FD #F2E1FE

Accessibility & contrast

On white

2.38
#CC8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CC8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EFB
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EFB#FFFFFF#000000##000000
##CC8EFB1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#C69FB9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc8efb;
/* rgb */ color: rgb(204, 142, 251);
/* oklch */ color: oklch(74.9% 0.163 309.2);
Tailwind
colors: {
  custom: {
    50: '#ddb0fd',
    500: '#cc8efb',
    950: '#000000',
  },
}
SCSS
$custom: #cc8efb;
$custom-light: #ddb0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8efb",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 274.128,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74912,
    "c": 0.16328,
    "h": 309.2
  },
  "luminance": 0.39148
}

Semantic roles & 50–950 ramp

primary
#CC8EFB
secondary
#E3F6D5
accent
#E60063
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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