#C77BEF#C77BEF

#C77BEF is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.8% C 0.178 H 312.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#C77BEF
RGBrgb(199, 123, 239)
HSLhsl(279, 78%, 71%)
HSVhsv(279, 49%, 94%)
CMYKcmyk(16.7%, 48.5%, 0%, 6.3%)
CIE-LABlab(63.79, 49.26, -46.94)
CIE-LCHlch(63.79, 68.04, 316.38°)
OKLaboklab(70.82% 0.1215 -0.1308)
OKLCHoklch(70.82% 0.178 312.9)
XYZxyz(46.2135, 32.5411, 85.4912)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77BEF #A3EF7B
analogous
#8D7BEF #C77BEF #EF7BDD
triadic
#C77BEF #EFC77B #7BEFC7
tetradic
#C77BEF #EF8D7B #A3EF7B #7BDDEF
square
#C77BEF #EF8D7B #A3EF7B #7BDDEF
split-complementary
#C77BEF #DDEF7B #7BEF8D
monochromatic
#951AD6 #B044E8 #C77BEF #DEB2F6 #F3E4FC

Accessibility & contrast

On white

2.80
#C77BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#C77BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77BEF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77BEF#FFFFFF#000000##000000
##C77BEF1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#779CEC
Tritanopia (blue-blind)
#C38DAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c77bef;
/* rgb */ color: rgb(199, 123, 239);
/* oklch */ color: oklch(70.8% 0.178 312.9);
Tailwind
colors: {
  custom: {
    50: '#daa3f5',
    500: '#c77bef',
    950: '#000000',
  },
}
SCSS
$custom: #c77bef;
$custom-light: #daa3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c77bef",
  "rgb": {
    "r": 199,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 279.31,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70823,
    "c": 0.17848,
    "h": 312.9
  },
  "luminance": 0.3254
}

Semantic roles & 50–950 ramp

primary
#C77BEF
secondary
#DEF2D3
accent
#DB0B53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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