#C77AEF#C77AEF

#C77AEF is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.7% C 0.180 H 313.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C77AEF
RGBrgb(199, 122, 239)
HSLhsl(279, 79%, 71%)
HSVhsv(279, 49%, 94%)
CMYKcmyk(16.7%, 49%, 0%, 6.3%)
CIE-LABlab(63.59, 49.78, -47.26)
CIE-LCHlch(63.59, 68.64, 316.49°)
OKLaboklab(70.67% 0.1228 -0.1317)
OKLCHoklch(70.67% 0.18 313)
XYZxyz(46.0901, 32.2943, 85.4501)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77AEF #A2EF7A
analogous
#8C7AEF #C77AEF #EF7ADC
triadic
#C77AEF #EFC77A #7AEFC7
tetradic
#C77AEF #EF8C7A #A2EF7A #7ADCEF
square
#C77AEF #EF8C7A #A2EF7A #7ADCEF
split-complementary
#C77AEF #DCEF7A #7AEF8C
monochromatic
#951AD5 #B043E8 #C77AEF #DEB1F6 #F3E4FC

Accessibility & contrast

On white

2.82
#C77AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#C77AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77AEF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77AEF#FFFFFF#000000##000000
##C77AEF1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#C38CAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c77aef;
/* rgb */ color: rgb(199, 122, 239);
/* oklch */ color: oklch(70.7% 0.180 313.0);
Tailwind
colors: {
  custom: {
    50: '#daa2f5',
    500: '#c77aef',
    950: '#000000',
  },
}
SCSS
$custom: #c77aef;
$custom-light: #daa2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c77aef",
  "rgb": {
    "r": 199,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 279.487,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70673,
    "c": 0.18008,
    "h": 313
  },
  "luminance": 0.32293
}

Semantic roles & 50–950 ramp

primary
#C77AEF
secondary
#DDF2D3
accent
#DB0B52
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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