#CC89EF#CC89EF

#CC89EF is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.5% C 0.158 H 313.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CC89EF
RGBrgb(204, 137, 239)
HSLhsl(279, 76%, 74%)
HSVhsv(279, 43%, 94%)
CMYKcmyk(14.6%, 42.7%, 0%, 6.3%)
CIE-LABlab(67.25, 43.24, -41.47)
CIE-LCHlch(67.25, 59.91, 316.20°)
OKLaboklab(73.53% 0.1081 -0.1149)
OKLCHoklch(73.53% 0.158 313.3)
XYZxyz(49.4249, 36.9617, 86.1753)
Luminance0.3696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89EF #ACEF89
analogous
#9989EF #CC89EF #EF89DF
triadic
#CC89EF #EFCC89 #89EFCC
tetradic
#CC89EF #EF9989 #ACEF89 #89DFEF
square
#CC89EF #EF9989 #ACEF89 #89DFEF
split-complementary
#CC89EF #DFEF89 #89EF99
monochromatic
#9D1EDF #B553E8 #CC89EF #E3BFF6 #F3E4FB

Accessibility & contrast

On white

2.50
#CC89EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CC89EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89EF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89EF#FFFFFF#000000##000000
##CC89EF1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#C998B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc89ef;
/* rgb */ color: rgb(204, 137, 239);
/* oklch */ color: oklch(73.5% 0.158 313.3);
Tailwind
colors: {
  custom: {
    50: '#ddadf4',
    500: '#cc89ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc89ef;
$custom-light: #ddadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89ef",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 279.412,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73527,
    "c": 0.15772,
    "h": 313.3
  },
  "luminance": 0.36961
}

Semantic roles & 50–950 ramp

primary
#CC89EF
secondary
#E1F3D8
accent
#D80D53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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