#C277FE#C277FE

#C277FE is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.5% C 0.200 H 307.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C277FE
RGBrgb(194, 119, 254)
HSLhsl(273, 99%, 73%)
HSVhsv(273, 53%, 100%)
CMYKcmyk(23.6%, 53.1%, 0%, 0.4%)
CIE-LABlab(63.19, 53.28, -56.18)
CIE-LCHlch(63.19, 77.43, 313.48°)
OKLaboklab(70.51% 0.1221 -0.1578)
OKLCHoklch(70.51% 0.2 307.7)
XYZxyz(46.7308, 31.8193, 97.4267)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C277FE #B3FE77
analogous
#7E77FE #C277FE #FE77F7
triadic
#C277FE #FEC277 #77FEC2
tetradic
#C277FE #FE7E77 #B3FE77 #77F7FE
square
#C277FE #FE7E77 #B3FE77 #77F7FE
split-complementary
#C277FE #F7FE77 #77FE7E
monochromatic
#8B02F9 #A73AFE #C277FE #DDB4FE #F1E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C277FE#FFFFFF#000000##000000
##C277FE1.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)
#4D96FF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#B98FAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c277fe;
/* rgb */ color: rgb(194, 119, 254);
/* oklch */ color: oklch(70.5% 0.200 307.7);
Tailwind
colors: {
  custom: {
    50: '#d7a1ff',
    500: '#c277fe',
    950: '#000000',
  },
}
SCSS
$custom: #c277fe;
$custom-light: #d7a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c277fe",
  "rgb": {
    "r": 194,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 273.333,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70507,
    "c": 0.1995,
    "h": 307.7
  },
  "luminance": 0.31819
}

Semantic roles & 50–950 ramp

primary
#C277FE
secondary
#E4F7D4
accent
#E60066
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C277FE

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

Preview Lab → · Contrast checker → · Palette generator →

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