#C774EF#C774EF

#C774EF is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.8% C 0.190 H 313.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C774EF
RGBrgb(199, 116, 239)
HSLhsl(280, 79%, 70%)
HSVhsv(280, 51%, 94%)
CMYKcmyk(16.7%, 51.5%, 0%, 6.3%)
CIE-LABlab(62.39, 52.87, -49.14)
CIE-LCHlch(62.39, 72.19, 317.09°)
OKLaboklab(69.79% 0.1308 -0.1371)
OKLCHoklch(69.79% 0.19 313.7)
XYZxyz(45.3760, 30.8661, 85.2120)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C774EF #9CEF74
analogous
#8A74EF #C774EF #EF74D9
triadic
#C774EF #EFC774 #74EFC7
tetradic
#C774EF #EF8A74 #9CEF74 #74D9EF
square
#C774EF #EF8A74 #9CEF74 #74D9EF
split-complementary
#C774EF #D9EF74 #74EF8A
monochromatic
#9518D1 #B13DE9 #C774EF #DDABF5 #F3E2FC

Accessibility & contrast

On white

2.93
#C774EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C774EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C774EF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C774EF#FFFFFF#000000##000000
##C774EF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#C488A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c774ef;
/* rgb */ color: rgb(199, 116, 239);
/* oklch */ color: oklch(69.8% 0.190 313.7);
Tailwind
colors: {
  custom: {
    50: '#da9ff5',
    500: '#c774ef',
    950: '#000000',
  },
}
SCSS
$custom: #c774ef;
$custom-light: #da9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#c774ef",
  "rgb": {
    "r": 199,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 280.488,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69791,
    "c": 0.18952,
    "h": 313.7
  },
  "luminance": 0.30865
}

Semantic roles & 50–950 ramp

primary
#C774EF
secondary
#D9F1CE
accent
#DC0A4E
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C774EF

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

Preview Lab → · Contrast checker → · Palette generator →

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