#CC89F3#CC89F3

#CC89F3 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.7% C 0.162 H 312.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CC89F3
RGBrgb(204, 137, 243)
HSLhsl(278, 82%, 75%)
HSVhsv(278, 44%, 95%)
CMYKcmyk(16%, 43.6%, 0%, 4.7%)
CIE-LABlab(67.43, 44.09, -43.38)
CIE-LCHlch(67.43, 61.85, 315.46°)
OKLaboklab(73.72% 0.1087 -0.1204)
OKLCHoklch(73.72% 0.162 312.1)
XYZxyz(50.0224, 37.2007, 89.3220)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89F3 #B0F389
analogous
#9789F3 #CC89F3 #F389E5
triadic
#CC89F3 #F3CC89 #89F3CC
tetradic
#CC89F3 #F39789 #B0F389 #89E5F3
square
#CC89F3 #F39789 #B0F389 #89E5F3
split-complementary
#CC89F3 #E5F389 #89F397
monochromatic
#9C1AE8 #B451ED #CC89F3 #E4C1F9 #F3E3FC

Accessibility & contrast

On white

2.49
#CC89F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CC89F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89F3
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89F3#FFFFFF#000000##000000
##CC89F31.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F7
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#C899B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc89f3;
/* rgb */ color: rgb(204, 137, 243);
/* oklch */ color: oklch(73.7% 0.162 312.1);
Tailwind
colors: {
  custom: {
    50: '#ddadf7',
    500: '#cc89f3',
    950: '#000000',
  },
}
SCSS
$custom: #cc89f3;
$custom-light: #ddadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89f3",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 243
  },
  "hsl": {
    "h": 277.925,
    "s": 81.538,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7372,
    "c": 0.16225,
    "h": 312.1
  },
  "luminance": 0.372
}

Semantic roles & 50–950 ramp

primary
#CC89F3
secondary
#E2F4D7
accent
#DE0856
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC89F3

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

Preview Lab → · Contrast checker → · Palette generator →

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