#C77AEB#C77AEB

#C77AEB is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.176 H 314.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#C77AEB
RGBrgb(199, 122, 235)
HSLhsl(281, 74%, 70%)
HSVhsv(281, 48%, 92%)
CMYKcmyk(15.3%, 48.1%, 0%, 7.8%)
CIE-LABlab(63.39, 48.94, -45.35)
CIE-LCHlch(63.39, 66.72, 317.18°)
OKLaboklab(70.47% 0.1223 -0.1262)
OKLCHoklch(70.47% 0.176 314.1)
XYZxyz(45.5057, 32.0605, 82.3723)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77AEB #9EEB7A
analogous
#8F7AEB #C77AEB #EB7AD6
triadic
#C77AEB #EBC77A #7AEBC7
tetradic
#C77AEB #EB8F7A #9EEB7A #7AD6EB
square
#C77AEB #EB8F7A #9EEB7A #7AD6EB
split-complementary
#C77AEB #D6EB7A #7AEB8F
monochromatic
#951FCC #B145E3 #C77AEB #DDAFF3 #F4E4FB

Accessibility & contrast

On white

2.83
#C77AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#C77AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77AEB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77AEB#FFFFFF#000000##000000
##C77AEB1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#789CE8
Tritanopia (blue-blind)
#C48BA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c77aeb;
/* rgb */ color: rgb(199, 122, 235);
/* oklch */ color: oklch(70.5% 0.176 314.1);
Tailwind
colors: {
  custom: {
    50: '#daa2f2',
    500: '#c77aeb',
    950: '#000000',
  },
}
SCSS
$custom: #c77aeb;
$custom-light: #daa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c77aeb",
  "rgb": {
    "r": 199,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 280.885,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.70467,
    "c": 0.17572,
    "h": 314.1
  },
  "luminance": 0.32059
}

Semantic roles & 50–950 ramp

primary
#C77AEB
secondary
#DBF0D1
accent
#D6104F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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