#C77ECA#C77ECA

#C77ECA is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.5% C 0.134 H 325.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C77ECA
RGBrgb(199, 126, 202)
HSLhsl(298, 42%, 64%)
HSVhsv(298, 38%, 79%)
CMYKcmyk(1.5%, 37.6%, 0%, 20.8%)
CIE-LABlab(62.79, 40.26, -27.87)
CIE-LCHlch(62.79, 48.97, 325.30°)
OKLaboklab(69.54% 0.1107 -0.076)
OKLCHoklch(69.54% 0.134 325.5)
XYZxyz(41.6737, 31.3298, 59.7177)
Luminance0.3133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77ECA #81CA7E
analogous
#A17ECA #C77ECA #CA7EA7
triadic
#C77ECA #CAC77E #7ECAC7
tetradic
#C77ECA #CAA17E #81CA7E #7EA7CA
square
#C77ECA #CAA17E #81CA7E #7EA7CA
split-complementary
#C77ECA #A7CA7E #7ECAA1
monochromatic
#8E3C92 #B453B8 #C77ECA #DAA9DC #EDD5EE

Accessibility & contrast

On white

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

On black

7.27
#C77ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77ECA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77ECA#FFFFFF#000000##000000
##C77ECA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c77eca;
/* rgb */ color: rgb(199, 126, 202);
/* oklch */ color: oklch(69.5% 0.134 325.5);
Tailwind
colors: {
  custom: {
    50: '#d9a5da',
    500: '#c77eca',
    950: '#000000',
  },
}
SCSS
$custom: #c77eca;
$custom-light: #d9a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#c77eca",
  "rgb": {
    "r": 199,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 297.632,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6954,
    "c": 0.13426,
    "h": 325.5
  },
  "luminance": 0.31328
}

Semantic roles & 50–950 ramp

primary
#C77ECA
secondary
#C6DFC5
accent
#B53136
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #C77ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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