#C774F7#C774F7

#C774F7 is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.2% C 0.198 H 311.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C774F7
RGBrgb(199, 116, 247)
HSLhsl(278, 89%, 71%)
HSVhsv(278, 53%, 97%)
CMYKcmyk(19.4%, 53%, 0%, 3.1%)
CIE-LABlab(62.80, 54.56, -52.92)
CIE-LCHlch(62.80, 76.01, 315.87°)
OKLaboklab(70.22% 0.1315 -0.1481)
OKLCHoklch(70.22% 0.198 311.6)
XYZxyz(46.5841, 31.3493, 91.5747)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C774F7 #A4F774
analogous
#8574F7 #C774F7 #F774E6
triadic
#C774F7 #F7C774 #74F7C7
tetradic
#C774F7 #F78574 #A4F774 #74E6F7
square
#C774F7 #F78574 #A4F774 #74E6F7
split-complementary
#C774F7 #E6F774 #74F785
monochromatic
#950DE4 #B03AF4 #C774F7 #DEAEFA #F3E2FD

Accessibility & contrast

On white

2.89
#C774F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#C774F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C774F7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C774F7#FFFFFF#000000##000000
##C774F71.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#6B9AF4
Tritanopia (blue-blind)
#C28AAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c774f7;
/* rgb */ color: rgb(199, 116, 247);
/* oklch */ color: oklch(70.2% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#db9ffa',
    500: '#c774f7',
    950: '#000000',
  },
}
SCSS
$custom: #c774f7;
$custom-light: #db9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#c774f7",
  "rgb": {
    "r": 199,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 278.015,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70223,
    "c": 0.19804,
    "h": 311.6
  },
  "luminance": 0.31348
}

Semantic roles & 50–950 ramp

primary
#C774F7
secondary
#DFF5D2
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C774F7

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

Preview Lab → · Contrast checker → · Palette generator →

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