#C277EF#C277EF

#C277EF is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.7% C 0.183 H 311.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C277EF
RGBrgb(194, 119, 239)
HSLhsl(278, 79%, 70%)
HSVhsv(278, 50%, 94%)
CMYKcmyk(18.8%, 50.2%, 0%, 6.3%)
CIE-LABlab(62.42, 50.01, -49.14)
CIE-LCHlch(62.42, 70.11, 315.50°)
OKLaboklab(69.68% 0.1209 -0.1372)
OKLCHoklch(69.68% 0.183 311.4)
XYZxyz(44.4222, 30.8959, 85.2680)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C277EF #A4EF77
analogous
#8677EF #C277EF #EF77E0
triadic
#C277EF #EFC277 #77EFC2
tetradic
#C277EF #EF8677 #A4EF77 #77E0EF
square
#C277EF #EF8677 #A4EF77 #77E0EF
split-complementary
#C277EF #E0EF77 #77EF86
monochromatic
#8D19D3 #A940E9 #C277EF #DBAEF5 #F3E4FC

Accessibility & contrast

On white

2.93
#C277EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#C277EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C277EF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C277EF#FFFFFF#000000##000000
##C277EF1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#BD8BA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c277ef;
/* rgb */ color: rgb(194, 119, 239);
/* oklch */ color: oklch(69.7% 0.183 311.4);
Tailwind
colors: {
  custom: {
    50: '#d7a0f5',
    500: '#c277ef',
    950: '#000000',
  },
}
SCSS
$custom: #c277ef;
$custom-light: #d7a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c277ef",
  "rgb": {
    "r": 194,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 277.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69684,
    "c": 0.1829,
    "h": 311.4
  },
  "luminance": 0.30895
}

Semantic roles & 50–950 ramp

primary
#C277EF
secondary
#DDF2D0
accent
#DB0A59
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C277EF

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

Preview Lab → · Contrast checker → · Palette generator →

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