#C771CA#C771CA

#C771CA is a light, vivid purple. Relative luminance 0.282; OKLCH L 67.5% C 0.157 H 325.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#C771CA
RGBrgb(199, 113, 202)
HSLhsl(298, 46%, 62%)
HSVhsv(298, 44%, 79%)
CMYKcmyk(1.5%, 44.1%, 0%, 20.8%)
CIE-LABlab(60.09, 47.11, -32.05)
CIE-LCHlch(60.09, 56.98, 325.77°)
OKLaboklab(67.52% 0.1298 -0.0878)
OKLCHoklch(67.52% 0.157 325.9)
XYZxyz(40.1181, 28.2185, 59.1992)
Luminance0.2822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C771CA #74CA71
analogous
#9B71CA #C771CA #CA71A1
triadic
#C771CA #CAC771 #71CAC7
tetradic
#C771CA #CA9B71 #74CA71 #71A1CA
square
#C771CA #CA9B71 #74CA71 #71A1CA
split-complementary
#C771CA #A1CA71 #71CA9B
monochromatic
#89348C #B545B9 #C771CA #D99EDB #EACAEB

Accessibility & contrast

On white

3.16
#C771CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#C771CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C771CA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C771CA#FFFFFF#000000##000000
##C771CA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACD
Deuteranopia (green-blind)
#8095C7
Tritanopia (blue-blind)
#CB7A94
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c771ca;
/* rgb */ color: rgb(199, 113, 202);
/* oklch */ color: oklch(67.5% 0.157 325.9);
Tailwind
colors: {
  custom: {
    50: '#da9cda',
    500: '#c771ca',
    950: '#000000',
  },
}
SCSS
$custom: #c771ca;
$custom-light: #da9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#c771ca",
  "rgb": {
    "r": 199,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 297.978,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67518,
    "c": 0.15666,
    "h": 325.9
  },
  "luminance": 0.28217
}

Semantic roles & 50–950 ramp

primary
#C771CA
secondary
#BCDCBB
accent
#B92D31
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E15
muted
#837E83

Preview Lab

Preview with #C771CA

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

Preview Lab → · Contrast checker → · Palette generator →

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