#CC8FF3#CC8FF3

#CC8FF3 is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.7% C 0.152 H 311.2°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#CC8FF3
RGBrgb(204, 143, 243)
HSLhsl(277, 81%, 76%)
HSVhsv(277, 41%, 95%)
CMYKcmyk(16%, 41.2%, 0%, 4.7%)
CIE-LABlab(68.72, 40.87, -41.36)
CIE-LCHlch(68.72, 58.15, 314.66°)
OKLaboklab(74.69% 0.1004 -0.1146)
OKLCHoklch(74.69% 0.152 311.2)
XYZxyz(50.8991, 38.9542, 89.6142)
Luminance0.3895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FF3 #B6F38F
analogous
#9A8FF3 #CC8FF3 #F38FE8
triadic
#CC8FF3 #F3CC8F #8FF3CC
tetradic
#CC8FF3 #F39A8F #B6F38F #8FE8F3
square
#CC8FF3 #F39A8F #B6F38F #8FE8F3
split-complementary
#CC8FF3 #E8F38F #8FF39A
monochromatic
#9A20E7 #B358ED #CC8FF3 #E5C6F9 #F2E3FC

Accessibility & contrast

On white

2.39
#CC8FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#CC8FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FF3
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FF3#FFFFFF#000000##000000
##CC8FF31.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F7
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#C89EB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc8ff3;
/* rgb */ color: rgb(204, 143, 243);
/* oklch */ color: oklch(74.7% 0.152 311.2);
Tailwind
colors: {
  custom: {
    50: '#ddb1f7',
    500: '#cc8ff3',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ff3;
$custom-light: #ddb1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ff3",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 243
  },
  "hsl": {
    "h": 276.6,
    "s": 80.645,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74689,
    "c": 0.15235,
    "h": 311.2
  },
  "luminance": 0.38953
}

Semantic roles & 50–950 ramp

primary
#CC8FF3
secondary
#E2F4D7
accent
#DD095B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CC8FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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