#C774EC#C774EC

#C774EC is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.6% C 0.186 H 314.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#C774EC
RGBrgb(199, 116, 236)
HSLhsl(282, 76%, 69%)
HSVhsv(282, 51%, 93%)
CMYKcmyk(15.7%, 50.8%, 0%, 7.5%)
CIE-LABlab(62.25, 52.25, -47.72)
CIE-LCHlch(62.25, 70.76, 317.60°)
OKLaboklab(69.63% 0.1305 -0.133)
OKLCHoklch(69.63% 0.186 314.5)
XYZxyz(44.9365, 30.6903, 82.8973)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C774EC #99EC74
analogous
#8B74EC #C774EC #EC74D5
triadic
#C774EC #ECC774 #74ECC7
tetradic
#C774EC #EC8B74 #99EC74 #74D5EC
square
#C774EC #EC8B74 #99EC74 #74D5EC
split-complementary
#C774EC #D5EC74 #74EC8B
monochromatic
#941CCA #B13EE5 #C774EC #DDAAF3 #F2E0FB

Accessibility & contrast

On white

2.94
#C774EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#C774EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C774EC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C774EC#FFFFFF#000000##000000
##C774EC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#7299E9
Tritanopia (blue-blind)
#C487A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c774ec;
/* rgb */ color: rgb(199, 116, 236);
/* oklch */ color: oklch(69.6% 0.186 314.5);
Tailwind
colors: {
  custom: {
    50: '#da9ff2',
    500: '#c774ec',
    950: '#000000',
  },
}
SCSS
$custom: #c774ec;
$custom-light: #da9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c774ec",
  "rgb": {
    "r": 199,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 281.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69632,
    "c": 0.18634,
    "h": 314.5
  },
  "luminance": 0.30689
}

Semantic roles & 50–950 ramp

primary
#C774EC
secondary
#D7EFCC
accent
#D80D4C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C774EC

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

Preview Lab → · Contrast checker → · Palette generator →

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