#C277EC#C277EC

#C277EC is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.180 H 312.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#C277EC
RGBrgb(194, 119, 236)
HSLhsl(278, 75%, 70%)
HSVhsv(278, 50%, 93%)
CMYKcmyk(17.8%, 49.6%, 0%, 7.5%)
CIE-LABlab(62.27, 49.37, -47.72)
CIE-LCHlch(62.27, 68.66, 315.97°)
OKLaboklab(69.53% 0.1206 -0.1331)
OKLCHoklch(69.53% 0.18 312.2)
XYZxyz(43.9826, 30.7201, 82.9532)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C277EC #A1EC77
analogous
#8877EC #C277EC #EC77DB
triadic
#C277EC #ECC277 #77ECC2
tetradic
#C277EC #EC8877 #A1EC77 #77DBEC
square
#C277EC #EC8877 #A1EC77 #77DBEC
split-complementary
#C277EC #DBEC77 #77EC88
monochromatic
#8D1DCC #AA41E4 #C277EC #DAADF4 #F2E2FB

Accessibility & contrast

On white

2.94
#C277EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#C277EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C277EC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C277EC#FFFFFF#000000##000000
##C277EC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#BE8AA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c277ec;
/* rgb */ color: rgb(194, 119, 236);
/* oklch */ color: oklch(69.5% 0.180 312.2);
Tailwind
colors: {
  custom: {
    50: '#d7a0f2',
    500: '#c277ec',
    950: '#000000',
  },
}
SCSS
$custom: #c277ec;
$custom-light: #d7a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c277ec",
  "rgb": {
    "r": 194,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 278.462,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69525,
    "c": 0.1796,
    "h": 312.2
  },
  "luminance": 0.30719
}

Semantic roles & 50–950 ramp

primary
#C277EC
secondary
#DBF0CF
accent
#D80E56
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C277EC

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

Preview Lab → · Contrast checker → · Palette generator →

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