#C774F8#C774F8

#C774F8 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.3% C 0.199 H 311.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C774F8
RGBrgb(199, 116, 248)
HSLhsl(278, 90%, 71%)
HSVhsv(278, 53%, 97%)
CMYKcmyk(19.8%, 53.2%, 0%, 2.7%)
CIE-LABlab(62.85, 54.77, -53.39)
CIE-LCHlch(62.85, 76.49, 315.73°)
OKLaboklab(70.28% 0.1315 -0.1495)
OKLCHoklch(70.28% 0.199 311.3)
XYZxyz(46.7388, 31.4112, 92.3896)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C774F8 #A5F874
analogous
#8574F8 #C774F8 #F874E7
triadic
#C774F8 #F8C774 #74F8C7
tetradic
#C774F8 #F88574 #A5F874 #74E7F8
square
#C774F8 #F88574 #A5F874 #74E7F8
split-complementary
#C774F8 #E7F874 #74F885
monochromatic
#950CE6 #B03AF5 #C774F8 #DEAEFB #F3E2FE

Accessibility & contrast

On white

2.88
#C774F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#C774F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C774F8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C774F8#FFFFFF#000000##000000
##C774F81.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#C18BAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c774f8;
/* rgb */ color: rgb(199, 116, 248);
/* oklch */ color: oklch(70.3% 0.199 311.3);
Tailwind
colors: {
  custom: {
    50: '#db9ffb',
    500: '#c774f8',
    950: '#000000',
  },
}
SCSS
$custom: #c774f8;
$custom-light: #db9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#c774f8",
  "rgb": {
    "r": 199,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 277.727,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70278,
    "c": 0.19912,
    "h": 311.3
  },
  "luminance": 0.3141
}

Semantic roles & 50–950 ramp

primary
#C774F8
secondary
#DFF5D3
accent
#E60055
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C774F8

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

Preview Lab → · Contrast checker → · Palette generator →

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