#CC7BF9#CC7BF9

#CC7BF9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.9% C 0.191 H 312.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CC7BF9
RGBrgb(204, 123, 249)
HSLhsl(279, 91%, 73%)
HSVhsv(279, 51%, 98%)
CMYKcmyk(18.1%, 50.6%, 0%, 2.4%)
CIE-LABlab(64.84, 52.70, -50.76)
CIE-LCHlch(64.84, 73.17, 316.07°)
OKLaboklab(71.89% 0.1285 -0.1417)
OKLCHoklch(71.89% 0.191 312.2)
XYZxyz(49.0807, 33.8439, 93.5512)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BF9 #A8F97B
analogous
#8D7BF9 #CC7BF9 #F97BE7
triadic
#CC7BF9 #F9CC7B #7BF9CC
tetradic
#CC7BF9 #F98D7B #A8F97B #7BE7F9
square
#CC7BF9 #F98D7B #A8F97B #7BE7F9
split-complementary
#CC7BF9 #E7F97B #7BF98D
monochromatic
#9D0BEF #B540F6 #CC7BF9 #E3B6FC #F4E2FE

Accessibility & contrast

On white

2.70
#CC7BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#CC7BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BF9
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BF9#FFFFFF#000000##000000
##CC7BF91.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FD
Deuteranopia (green-blind)
#759FF6
Tritanopia (blue-blind)
#C790AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc7bf9;
/* rgb */ color: rgb(204, 123, 249);
/* oklch */ color: oklch(71.9% 0.191 312.2);
Tailwind
colors: {
  custom: {
    50: '#dea4fc',
    500: '#cc7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bf9;
$custom-light: #dea4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bf9",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 278.571,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71885,
    "c": 0.19128,
    "h": 312.2
  },
  "luminance": 0.33843
}

Semantic roles & 50–950 ramp

primary
#CC7BF9
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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