#C77ECB#C77ECB

#C77ECB is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.6% C 0.135 H 325.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C77ECB
RGBrgb(199, 126, 203)
HSLhsl(297, 43%, 65%)
HSVhsv(297, 38%, 80%)
CMYKcmyk(2%, 37.9%, 0%, 20.4%)
CIE-LABlab(62.82, 40.45, -28.38)
CIE-LCHlch(62.82, 49.41, 324.95°)
OKLaboklab(69.58% 0.1109 -0.0774)
OKLCHoklch(69.58% 0.135 325.1)
XYZxyz(41.7925, 31.3773, 60.3433)
Luminance0.3138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77ECB #82CB7E
analogous
#A17ECB #C77ECB #CB7EA9
triadic
#C77ECB #CBC77E #7ECBC7
tetradic
#C77ECB #CBA17E #82CB7E #7EA9CB
square
#C77ECB #CBA17E #82CB7E #7EA9CB
split-complementary
#C77ECB #A9CB7E #7ECBA1
monochromatic
#8F3B93 #B452B9 #C77ECB #DAAADD #EDD5EE

Accessibility & contrast

On white

2.89
#C77ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#C77ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77ECB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77ECB#FFFFFF#000000##000000
##C77ECB1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CE
Deuteranopia (green-blind)
#8A9BC9
Tritanopia (blue-blind)
#CB869B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c77ecb;
/* rgb */ color: rgb(199, 126, 203);
/* oklch */ color: oklch(69.6% 0.135 325.1);
Tailwind
colors: {
  custom: {
    50: '#d9a5db',
    500: '#c77ecb',
    950: '#000000',
  },
}
SCSS
$custom: #c77ecb;
$custom-light: #d9a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#c77ecb",
  "rgb": {
    "r": 199,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 296.883,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69583,
    "c": 0.13527,
    "h": 325.1
  },
  "luminance": 0.31376
}

Semantic roles & 50–950 ramp

primary
#C77ECB
secondary
#C6E0C5
accent
#B63037
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C77ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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