#CC8FEB#CC8FEB

#CC8FEB is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.3% C 0.143 H 313.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CC8FEB
RGBrgb(204, 143, 235)
HSLhsl(280, 70%, 74%)
HSVhsv(280, 39%, 92%)
CMYKcmyk(13.2%, 39.1%, 0%, 7.8%)
CIE-LABlab(68.37, 39.18, -37.51)
CIE-LCHlch(68.37, 54.25, 316.25°)
OKLaboklab(74.32% 0.0988 -0.1035)
OKLCHoklch(74.32% 0.143 313.7)
XYZxyz(49.7173, 38.4815, 83.3898)
Luminance0.3848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FEB #AEEB8F
analogous
#9E8FEB #CC8FEB #EB8FDC
triadic
#CC8FEB #EBCC8F #8FEBCC
tetradic
#CC8FEB #EB9E8F #AEEB8F #8FDCEB
square
#CC8FEB #EB9E8F #AEEB8F #8FDCEB
split-complementary
#CC8FEB #DCEB8F #8FEB9E
monochromatic
#9D27D8 #B45BE2 #CC8FEB #E4C3F4 #F3E5FA

Accessibility & contrast

On white

2.41
#CC8FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#CC8FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FEB
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FEB#FFFFFF#000000##000000
##CC8FEB1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3EE
Deuteranopia (green-blind)
#8EA8E8
Tritanopia (blue-blind)
#CA9CB2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc8feb;
/* rgb */ color: rgb(204, 143, 235);
/* oklch */ color: oklch(74.3% 0.143 313.7);
Tailwind
colors: {
  custom: {
    50: '#ddb1f1',
    500: '#cc8feb',
    950: '#000000',
  },
}
SCSS
$custom: #cc8feb;
$custom-light: #ddb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8feb",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 279.783,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74317,
    "c": 0.14314,
    "h": 313.7
  },
  "luminance": 0.3848
}

Semantic roles & 50–950 ramp

primary
#CC8FEB
secondary
#E1F2D9
accent
#D21454
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CC8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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