#C277EA#C277EA

#C277EA is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.4% C 0.177 H 312.7°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#C277EA
RGBrgb(194, 119, 234)
HSLhsl(279, 73%, 69%)
HSVhsv(279, 49%, 92%)
CMYKcmyk(17.1%, 49.1%, 0%, 8.2%)
CIE-LABlab(62.17, 48.94, -46.76)
CIE-LCHlch(62.17, 67.69, 316.30°)
OKLaboklab(69.42% 0.1204 -0.1303)
OKLCHoklch(69.42% 0.177 312.7)
XYZxyz(43.6937, 30.6045, 81.4315)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C277EA #9FEA77
analogous
#8977EA #C277EA #EA77D9
triadic
#C277EA #EAC277 #77EAC2
tetradic
#C277EA #EA8977 #9FEA77 #77D9EA
square
#C277EA #EA8977 #9FEA77 #77D9EA
split-complementary
#C277EA #D9EA77 #77EA89
monochromatic
#8D1FC8 #AA42E2 #C277EA #DAACF2 #F2E1FA

Accessibility & contrast

On white

2.95
#C277EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#C277EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C277EA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C277EA#FFFFFF#000000##000000
##C277EA1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#BE89A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c277ea;
/* rgb */ color: rgb(194, 119, 234);
/* oklch */ color: oklch(69.4% 0.177 312.7);
Tailwind
colors: {
  custom: {
    50: '#d7a0f1',
    500: '#c277ea',
    950: '#000000',
  },
}
SCSS
$custom: #c277ea;
$custom-light: #d7a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c277ea",
  "rgb": {
    "r": 194,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 279.13,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6942,
    "c": 0.1774,
    "h": 312.7
  },
  "luminance": 0.30603
}

Semantic roles & 50–950 ramp

primary
#C277EA
secondary
#D9EFCE
accent
#D51055
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C277EA

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

Preview Lab → · Contrast checker → · Palette generator →

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