#C774FA#C774FA

#C774FA is a light, highly saturated violet. Relative luminance 0.315; OKLCH L 70.4% C 0.201 H 310.9°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#C774FA
RGBrgb(199, 116, 250)
HSLhsl(277, 93%, 72%)
HSVhsv(277, 54%, 98%)
CMYKcmyk(20.4%, 53.6%, 0%, 2%)
CIE-LABlab(62.96, 55.20, -54.33)
CIE-LCHlch(62.96, 77.45, 315.46°)
OKLaboklab(70.39% 0.1317 -0.1522)
OKLCHoklch(70.39% 0.201 310.9)
XYZxyz(47.0507, 31.5360, 94.0324)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C774FA #A7FA74
analogous
#8474FA #C774FA #FA74EA
triadic
#C774FA #FAC774 #74FAC7
tetradic
#C774FA #FA8474 #A7FA74 #74EAFA
square
#C774FA #FA8474 #A7FA74 #74EAFA
split-complementary
#C774FA #EAFA74 #74FA84
monochromatic
#9508EB #AF39F8 #C774FA #DFAFFC #F3E1FE

Accessibility & contrast

On white

2.87
#C774FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#C774FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C774FA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C774FA#FFFFFF#000000##000000
##C774FA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#C18BAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c774fa;
/* rgb */ color: rgb(199, 116, 250);
/* oklch */ color: oklch(70.4% 0.201 310.9);
Tailwind
colors: {
  custom: {
    50: '#db9ffc',
    500: '#c774fa',
    950: '#000000',
  },
}
SCSS
$custom: #c774fa;
$custom-light: #db9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#c774fa",
  "rgb": {
    "r": 199,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 277.164,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70389,
    "c": 0.20126,
    "h": 310.9
  },
  "luminance": 0.31535
}

Semantic roles & 50–950 ramp

primary
#C774FA
secondary
#E1F6D4
accent
#E60057
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C774FA

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

Preview Lab → · Contrast checker → · Palette generator →

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