#CC8BFD#CC8BFD

#CC8BFD is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.5% C 0.170 H 309.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CC8BFD
RGBrgb(204, 139, 253)
HSLhsl(274, 97%, 77%)
HSVhsv(274, 45%, 99%)
CMYKcmyk(19.4%, 45.1%, 0%, 0.8%)
CIE-LABlab(68.31, 45.16, -47.47)
CIE-LCHlch(68.31, 65.52, 313.58°)
OKLaboklab(74.53% 0.1075 -0.1322)
OKLCHoklch(74.53% 0.17 309.1)
XYZxyz(51.8607, 38.3952, 97.5884)
Luminance0.3839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BFD #BCFD8B
analogous
#938BFD #CC8BFD #FD8BF5
triadic
#CC8BFD #FDCC8B #8BFDCC
tetradic
#CC8BFD #FD938B #BCFD8B #8BF5FD
square
#CC8BFD #FD938B #BCFD8B #8BF5FD
split-complementary
#CC8BFD #F5FD8B #8BFD93
monochromatic
#9713FB #B24FFC #CC8BFD #E6C7FE #F2E1FE

Accessibility & contrast

On white

2.42
#CC8BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#CC8BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BFD
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BFD#FFFFFF#000000##000000
##CC8BFD1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#C69DB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc8bfd;
/* rgb */ color: rgb(204, 139, 253);
/* oklch */ color: oklch(74.5% 0.170 309.1);
Tailwind
colors: {
  custom: {
    50: '#ddaefe',
    500: '#cc8bfd',
    950: '#000000',
  },
}
SCSS
$custom: #cc8bfd;
$custom-light: #ddaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8bfd",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 274.211,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74531,
    "c": 0.17043,
    "h": 309.1
  },
  "luminance": 0.38394
}

Semantic roles & 50–950 ramp

primary
#CC8BFD
secondary
#E3F7D4
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC8BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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