#C774DD#C774DD

#C774DD is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.9% C 0.171 H 319.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#C774DD
RGBrgb(199, 116, 221)
HSLhsl(287, 61%, 66%)
HSVhsv(287, 48%, 87%)
CMYKcmyk(10%, 47.5%, 0%, 13.3%)
CIE-LABlab(61.53, 49.21, -40.49)
CIE-LCHlch(61.53, 63.72, 320.55°)
OKLaboklab(68.87% 0.1287 -0.112)
OKLCHoklch(68.87% 0.171 319)
XYZxyz(42.8480, 29.8549, 71.8981)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C774DD #8ADD74
analogous
#9274DD #C774DD #DD74BE
triadic
#C774DD #DDC774 #74DDC7
tetradic
#C774DD #DD9274 #8ADD74 #74BEDD
square
#C774DD #DD9274 #8ADD74 #74BEDD
split-complementary
#C774DD #BEDD74 #74DD92
monochromatic
#912AAC #B343D1 #C774DD #DBA5E9 #EFD6F5

Accessibility & contrast

On white

3.01
#C774DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#C774DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C774DD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C774DD#FFFFFF#000000##000000
##C774DD1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FE1
Deuteranopia (green-blind)
#7A97DA
Tritanopia (blue-blind)
#C8829E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c774dd;
/* rgb */ color: rgb(199, 116, 221);
/* oklch */ color: oklch(68.9% 0.171 319.0);
Tailwind
colors: {
  custom: {
    50: '#da9ee8',
    500: '#c774dd',
    950: '#000000',
  },
}
SCSS
$custom: #c774dd;
$custom-light: #da9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#c774dd",
  "rgb": {
    "r": 199,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 287.429,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68868,
    "c": 0.17064,
    "h": 319
  },
  "luminance": 0.29853
}

Semantic roles & 50–950 ramp

primary
#C774DD
secondary
#CCE8C5
accent
#C81D41
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C774DD

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

Preview Lab → · Contrast checker → · Palette generator →

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