#C774F9#C774F9

#C774F9 is a light, highly saturated violet. Relative luminance 0.315; OKLCH L 70.3% C 0.200 H 311.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#C774F9
RGBrgb(199, 116, 249)
HSLhsl(277, 92%, 72%)
HSVhsv(277, 53%, 98%)
CMYKcmyk(20.1%, 53.4%, 0%, 2.4%)
CIE-LABlab(62.91, 54.98, -53.86)
CIE-LCHlch(62.91, 76.97, 315.59°)
OKLaboklab(70.33% 0.1316 -0.1509)
OKLCHoklch(70.33% 0.2 311.1)
XYZxyz(46.8943, 31.4734, 93.2088)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C774F9 #A6F974
analogous
#8574F9 #C774F9 #F974E8
triadic
#C774F9 #F9C774 #74F9C7
tetradic
#C774F9 #F98574 #A6F974 #74E8F9
square
#C774F9 #F98574 #A6F974 #74E8F9
split-complementary
#C774F9 #E8F974 #74F985
monochromatic
#950AE9 #AF39F6 #C774F9 #DFAFFC #F3E2FE

Accessibility & contrast

On white

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

On black

7.29
#C774F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C774F9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C774F9#FFFFFF#000000##000000
##C774F91.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FD
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#C18BAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c774f9;
/* rgb */ color: rgb(199, 116, 249);
/* oklch */ color: oklch(70.3% 0.200 311.1);
Tailwind
colors: {
  custom: {
    50: '#db9ffc',
    500: '#c774f9',
    950: '#000000',
  },
}
SCSS
$custom: #c774f9;
$custom-light: #db9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#c774f9",
  "rgb": {
    "r": 199,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 277.444,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70333,
    "c": 0.20019,
    "h": 311.1
  },
  "luminance": 0.31472
}

Semantic roles & 50–950 ramp

primary
#C774F9
secondary
#E0F5D3
accent
#E60056
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C774F9

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

Preview Lab → · Contrast checker → · Palette generator →

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