#CC8BF0#CC8BF0

#CC8BF0 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.9% C 0.156 H 312.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CC8BF0
RGBrgb(204, 139, 240)
HSLhsl(279, 77%, 74%)
HSVhsv(279, 42%, 94%)
CMYKcmyk(15%, 42.1%, 0%, 5.9%)
CIE-LABlab(67.72, 42.38, -41.28)
CIE-LCHlch(67.72, 59.16, 315.76°)
OKLaboklab(73.9% 0.1054 -0.1143)
OKLCHoklch(73.9% 0.156 312.7)
XYZxyz(49.8600, 37.5949, 87.0511)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BF0 #AFF08B
analogous
#9A8BF0 #CC8BF0 #F08BE1
triadic
#CC8BF0 #F0CC8B #8BF0CC
tetradic
#CC8BF0 #F09A8B #AFF08B #8BE1F0
square
#CC8BF0 #F09A8B #AFF08B #8BE1F0
split-complementary
#CC8BF0 #E1F08B #8BF09A
monochromatic
#9C1FE2 #B455E9 #CC8BF0 #E4C1F7 #F3E4FB

Accessibility & contrast

On white

2.47
#CC8BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#CC8BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BF0
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BF0#FFFFFF#000000##000000
##CC8BF01.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F4
Deuteranopia (green-blind)
#88A7ED
Tritanopia (blue-blind)
#C99AB2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8bf0;
/* rgb */ color: rgb(204, 139, 240);
/* oklch */ color: oklch(73.9% 0.156 312.7);
Tailwind
colors: {
  custom: {
    50: '#ddaef5',
    500: '#cc8bf0',
    950: '#000000',
  },
}
SCSS
$custom: #cc8bf0;
$custom-light: #ddaef5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8bf0",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 278.614,
    "s": 77.099,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73896,
    "c": 0.15554,
    "h": 312.7
  },
  "luminance": 0.37594
}

Semantic roles & 50–950 ramp

primary
#CC8BF0
secondary
#E2F3D8
accent
#D90C55
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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