#CC8EF4#CC8EF4

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

Color values

HEX#CC8EF4
RGBrgb(204, 142, 244)
HSLhsl(276, 82%, 76%)
HSVhsv(276, 42%, 96%)
CMYKcmyk(16.4%, 41.8%, 0%, 4.3%)
CIE-LABlab(68.55, 41.62, -42.18)
CIE-LCHlch(68.55, 59.26, 314.62°)
OKLaboklab(74.57% 0.102 -0.117)
OKLCHoklch(74.57% 0.155 311.1)
XYZxyz(50.9011, 38.7159, 90.3619)
Luminance0.3871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EF4 #B6F48E
analogous
#998EF4 #CC8EF4 #F48EE9
triadic
#CC8EF4 #F4CC8E #8EF4CC
tetradic
#CC8EF4 #F4998E #B6F48E #8EE9F4
square
#CC8EF4 #F4998E #B6F48E #8EE9F4
split-complementary
#CC8EF4 #E9F48E #8EF499
monochromatic
#9A1EE9 #B356EF #CC8EF4 #E5C6F9 #F2E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC8EF4#FFFFFF#000000##000000
##CC8EF41.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)
#79A4F8
Deuteranopia (green-blind)
#89A8F1
Tritanopia (blue-blind)
#C89DB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc8ef4;
/* rgb */ color: rgb(204, 142, 244);
/* oklch */ color: oklch(74.6% 0.155 311.1);
Tailwind
colors: {
  custom: {
    50: '#ddb0f8',
    500: '#cc8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ef4;
$custom-light: #ddb0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ef4",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 276.471,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74573,
    "c": 0.15516,
    "h": 311.1
  },
  "luminance": 0.38715
}

Semantic roles & 50–950 ramp

primary
#CC8EF4
secondary
#E2F4D7
accent
#DF075B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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