#CC7BFD#CC7BFD

#CC7BFD is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.1% C 0.196 H 311.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CC7BFD
RGBrgb(204, 123, 253)
HSLhsl(277, 97%, 74%)
HSVhsv(277, 51%, 99%)
CMYKcmyk(19.4%, 51.4%, 0%, 0.8%)
CIE-LABlab(65.04, 53.54, -52.64)
CIE-LCHlch(65.04, 75.08, 315.49°)
OKLaboklab(72.1% 0.1288 -0.1472)
OKLCHoklch(72.1% 0.196 311.2)
XYZxyz(49.7112, 34.0961, 96.8719)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BFD #ACFD7B
analogous
#8B7BFD #CC7BFD #FD7BED
triadic
#CC7BFD #FDCC7B #7BFDCC
tetradic
#CC7BFD #FD8B7B #ACFD7B #7BEDFD
square
#CC7BFD #FD8B7B #ACFD7B #7BEDFD
split-complementary
#CC7BFD #EDFD7B #7BFD8B
monochromatic
#9D04FA #B53FFC #CC7BFD #E3B7FE #F3E1FF

Accessibility & contrast

On white

2.69
#CC7BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CC7BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BFD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BFD#FFFFFF#000000##000000
##CC7BFD1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#729FFA
Tritanopia (blue-blind)
#C691B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7bfd;
/* rgb */ color: rgb(204, 123, 253);
/* oklch */ color: oklch(72.1% 0.196 311.2);
Tailwind
colors: {
  custom: {
    50: '#dea4fe',
    500: '#cc7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bfd;
$custom-light: #dea4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bfd",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 277.385,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72098,
    "c": 0.1956,
    "h": 311.2
  },
  "luminance": 0.34095
}

Semantic roles & 50–950 ramp

primary
#CC7BFD
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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