#CC8FFA#CC8FFA

#CC8FFA is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.0% C 0.160 H 309.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CC8FFA
RGBrgb(204, 143, 250)
HSLhsl(274, 91%, 77%)
HSVhsv(274, 43%, 98%)
CMYKcmyk(18.4%, 42.8%, 0%, 2%)
CIE-LABlab(69.03, 42.37, -44.70)
CIE-LCHlch(69.03, 61.59, 313.47°)
OKLaboklab(75.02% 0.1016 -0.1242)
OKLCHoklch(75.02% 0.16 309.3)
XYZxyz(51.9764, 39.3851, 95.2879)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FFA #BDFA8F
analogous
#978FFA #CC8FFA #FA8FF2
triadic
#CC8FFA #FACC8F #8FFACC
tetradic
#CC8FFA #FA978F #BDFA8F #8FF2FA
square
#CC8FFA #FA978F #BDFA8F #8FF2FA
split-complementary
#CC8FFA #F2FA8F #8FFA97
monochromatic
#971AF5 #B154F7 #CC8FFA #E7CAFD #F2E2FE

Accessibility & contrast

On white

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

On black

8.88
#CC8FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FFA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FFA#FFFFFF#000000##000000
##CC8FFA1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#C6A0B9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc8ffa;
/* rgb */ color: rgb(204, 143, 250);
/* oklch */ color: oklch(75.0% 0.160 309.3);
Tailwind
colors: {
  custom: {
    50: '#ddb1fc',
    500: '#cc8ffa',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ffa;
$custom-light: #ddb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ffa",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 274.206,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75024,
    "c": 0.16049,
    "h": 309.3
  },
  "luminance": 0.39384
}

Semantic roles & 50–950 ramp

primary
#CC8FFA
secondary
#E3F6D5
accent
#E60063
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CC8FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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