#CC8BF3#CC8BF3

#CC8BF3 is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.0% C 0.159 H 311.8°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#CC8BF3
RGBrgb(204, 139, 243)
HSLhsl(278, 81%, 75%)
HSVhsv(278, 43%, 95%)
CMYKcmyk(16%, 42.8%, 0%, 4.7%)
CIE-LABlab(67.85, 43.02, -42.72)
CIE-LCHlch(67.85, 60.62, 315.20°)
OKLaboklab(74.04% 0.106 -0.1185)
OKLCHoklch(74.04% 0.159 311.8)
XYZxyz(50.3093, 37.7746, 89.4176)
Luminance0.3777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BF3 #B2F38B
analogous
#988BF3 #CC8BF3 #F38BE6
triadic
#CC8BF3 #F3CC8B #8BF3CC
tetradic
#CC8BF3 #F3988B #B2F38B #8BE6F3
square
#CC8BF3 #F3988B #B2F38B #8BE6F3
split-complementary
#CC8BF3 #E6F38B #8BF398
monochromatic
#9B1CE8 #B454ED #CC8BF3 #E4C2F9 #F3E3FC

Accessibility & contrast

On white

2.45
#CC8BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#CC8BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BF3
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BF3#FFFFFF#000000##000000
##CC8BF31.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F7
Deuteranopia (green-blind)
#86A7F0
Tritanopia (blue-blind)
#C89AB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8bf3;
/* rgb */ color: rgb(204, 139, 243);
/* oklch */ color: oklch(74.0% 0.159 311.8);
Tailwind
colors: {
  custom: {
    50: '#ddaef7',
    500: '#cc8bf3',
    950: '#000000',
  },
}
SCSS
$custom: #cc8bf3;
$custom-light: #ddaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8bf3",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 277.5,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7404,
    "c": 0.15896,
    "h": 311.8
  },
  "luminance": 0.37774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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