#CC89FA#CC89FA

#CC89FA is a light, vivid violet. Relative luminance 0.376; OKLCH L 74.1% C 0.170 H 310.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CC89FA
RGBrgb(204, 137, 250)
HSLhsl(276, 92%, 76%)
HSVhsv(276, 45%, 98%)
CMYKcmyk(18.4%, 45.2%, 0%, 2%)
CIE-LABlab(67.75, 45.58, -46.71)
CIE-LCHlch(67.75, 65.27, 314.30°)
OKLaboklab(74.07% 0.1098 -0.13)
OKLCHoklch(74.07% 0.17 310.2)
XYZxyz(51.0997, 37.6316, 94.9957)
Luminance0.3763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89FA #B7FA89
analogous
#9389FA #CC89FA #FA89F0
triadic
#CC89FA #FACC89 #89FACC
tetradic
#CC89FA #FA9389 #B7FA89 #89F0FA
square
#CC89FA #FA9389 #B7FA89 #89F0FA
split-complementary
#CC89FA #F0FA89 #89FA93
monochromatic
#9914F5 #B34EF8 #CC89FA #E5C4FC #F2E2FE

Accessibility & contrast

On white

2.46
#CC89FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CC89FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89FA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89FA#FFFFFF#000000##000000
##CC89FA1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#C79BB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc89fa;
/* rgb */ color: rgb(204, 137, 250);
/* oklch */ color: oklch(74.1% 0.170 310.2);
Tailwind
colors: {
  custom: {
    50: '#ddadfc',
    500: '#cc89fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc89fa;
$custom-light: #ddadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89fa",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 275.575,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74065,
    "c": 0.17021,
    "h": 310.2
  },
  "luminance": 0.37631
}

Semantic roles & 50–950 ramp

primary
#CC89FA
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC89FA

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

Preview Lab → · Contrast checker → · Palette generator →

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