#CC89F2#CC89F2

#CC89F2 is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.7% C 0.161 H 312.4°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#CC89F2
RGBrgb(204, 137, 242)
HSLhsl(278, 80%, 74%)
HSVhsv(278, 43%, 95%)
CMYKcmyk(15.7%, 43.4%, 0%, 5.1%)
CIE-LABlab(67.38, 43.88, -42.91)
CIE-LCHlch(67.38, 61.37, 315.64°)
OKLaboklab(73.67% 0.1086 -0.119)
OKLCHoklch(73.67% 0.161 312.4)
XYZxyz(49.8718, 37.1405, 88.5288)
Luminance0.3714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89F2 #AFF289
analogous
#9889F2 #CC89F2 #F289E3
triadic
#CC89F2 #F2CC89 #89F2CC
tetradic
#CC89F2 #F29889 #AFF289 #89E3F2
square
#CC89F2 #F29889 #AFF289 #89E3F2
split-complementary
#CC89F2 #E3F289 #89F298
monochromatic
#9C1BE6 #B452EC #CC89F2 #E4C0F8 #F3E3FC

Accessibility & contrast

On white

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

On black

8.43
#CC89F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89F2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89F2#FFFFFF#000000##000000
##CC89F21.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F6
Deuteranopia (green-blind)
#85A6EF
Tritanopia (blue-blind)
#C899B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc89f2;
/* rgb */ color: rgb(204, 137, 242);
/* oklch */ color: oklch(73.7% 0.161 312.4);
Tailwind
colors: {
  custom: {
    50: '#ddadf7',
    500: '#cc89f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc89f2;
$custom-light: #ddadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89f2",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 278.286,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73671,
    "c": 0.16111,
    "h": 312.4
  },
  "luminance": 0.37139
}

Semantic roles & 50–950 ramp

primary
#CC89F2
secondary
#E2F4D7
accent
#DC0956
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CC89F2

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

Preview Lab → · Contrast checker → · Palette generator →

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