#C774FE#C774FE

#C774FE is a light, highly saturated violet. Relative luminance 0.318; OKLCH L 70.6% C 0.206 H 309.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C774FE
RGBrgb(199, 116, 254)
HSLhsl(276, 99%, 73%)
HSVhsv(276, 54%, 100%)
CMYKcmyk(21.7%, 54.3%, 0%, 0.4%)
CIE-LABlab(63.17, 56.05, -56.19)
CIE-LCHlch(63.17, 79.37, 314.93°)
OKLaboklab(70.61% 0.1319 -0.1577)
OKLCHoklch(70.61% 0.206 309.9)
XYZxyz(47.6846, 31.7895, 97.3707)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C774FE #ABFE74
analogous
#8274FE #C774FE #FE74F0
triadic
#C774FE #FEC774 #74FEC7
tetradic
#C774FE #FE8274 #ABFE74 #74F0FE
square
#C774FE #FE8274 #ABFE74 #74F0FE
split-complementary
#C774FE #F0FE74 #74FE82
monochromatic
#9502F6 #AF37FE #C774FE #DFB1FE #F3E1FF

Accessibility & contrast

On white

2.85
#C774FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#C774FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C774FE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C774FE#FFFFFF#000000##000000
##C774FE1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#C08CAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c774fe;
/* rgb */ color: rgb(199, 116, 254);
/* oklch */ color: oklch(70.6% 0.206 309.9);
Tailwind
colors: {
  custom: {
    50: '#db9fff',
    500: '#c774fe',
    950: '#000000',
  },
}
SCSS
$custom: #c774fe;
$custom-light: #db9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#c774fe",
  "rgb": {
    "r": 199,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 276.087,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70612,
    "c": 0.20555,
    "h": 309.9
  },
  "luminance": 0.31789
}

Semantic roles & 50–950 ramp

primary
#C774FE
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C774FE

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

Preview Lab → · Contrast checker → · Palette generator →

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