#C277FC#C277FC

#C277FC is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.4% C 0.197 H 308.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#C277FC
RGBrgb(194, 119, 252)
HSLhsl(274, 96%, 73%)
HSVhsv(274, 53%, 99%)
CMYKcmyk(23%, 52.8%, 0%, 1.2%)
CIE-LABlab(63.09, 52.84, -55.25)
CIE-LCHlch(63.09, 76.45, 313.72°)
OKLaboklab(70.4% 0.122 -0.1551)
OKLCHoklch(70.4% 0.197 308.2)
XYZxyz(46.4122, 31.6919, 95.7487)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C277FC #B1FC77
analogous
#8077FC #C277FC #FC77F3
triadic
#C277FC #FCC277 #77FCC2
tetradic
#C277FC #FC8077 #B1FC77 #77F3FC
square
#C277FC #FC8077 #B1FC77 #77F3FC
split-complementary
#C277FC #F3FC77 #77FC80
monochromatic
#8C05F3 #A73BFB #C277FC #DDB3FD #F2E1FE

Accessibility & contrast

On white

2.86
#C277FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#C277FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C277FC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C277FC#FFFFFF#000000##000000
##C277FC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#BA8FAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c277fc;
/* rgb */ color: rgb(194, 119, 252);
/* oklch */ color: oklch(70.4% 0.197 308.2);
Tailwind
colors: {
  custom: {
    50: '#d7a1fe',
    500: '#c277fc',
    950: '#000000',
  },
}
SCSS
$custom: #c277fc;
$custom-light: #d7a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c277fc",
  "rgb": {
    "r": 194,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 273.835,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70395,
    "c": 0.19728,
    "h": 308.2
  },
  "luminance": 0.31691
}

Semantic roles & 50–950 ramp

primary
#C277FC
secondary
#E3F7D4
accent
#E60064
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C277FC

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

Preview Lab → · Contrast checker → · Palette generator →

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