#CC7BEF#CC7BEF

#CC7BEF is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.4% C 0.181 H 314.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CC7BEF
RGBrgb(204, 123, 239)
HSLhsl(282, 78%, 71%)
HSVhsv(282, 49%, 94%)
CMYKcmyk(14.6%, 48.5%, 0%, 6.3%)
CIE-LABlab(64.35, 50.61, -46.02)
CIE-LCHlch(64.35, 68.40, 317.72°)
OKLaboklab(71.37% 0.1274 -0.128)
OKLCHoklch(71.37% 0.181 314.9)
XYZxyz(47.5623, 33.2366, 85.5544)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BEF #9EEF7B
analogous
#927BEF #CC7BEF #EF7BD8
triadic
#CC7BEF #EFCC7B #7BEFCC
tetradic
#CC7BEF #EF927B #9EEF7B #7BD8EF
square
#CC7BEF #EF927B #9EEF7B #7BD8EF
split-complementary
#CC7BEF #D8EF7B #7BEF92
monochromatic
#9D1AD6 #B744E8 #CC7BEF #E1B2F6 #F4E4FC

Accessibility & contrast

On white

2.75
#CC7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CC7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BEF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BEF#FFFFFF#000000##000000
##CC7BEF1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#CA8DAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7bef;
/* rgb */ color: rgb(204, 123, 239);
/* oklch */ color: oklch(71.4% 0.181 314.9);
Tailwind
colors: {
  custom: {
    50: '#dea3f4',
    500: '#cc7bef',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bef;
$custom-light: #dea3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bef",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 281.897,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71366,
    "c": 0.18055,
    "h": 314.9
  },
  "luminance": 0.33235
}

Semantic roles & 50–950 ramp

primary
#CC7BEF
secondary
#DDF2D3
accent
#DB0B4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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