#C277F7#C277F7

#C277F7 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.1% C 0.192 H 309.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C277F7
RGBrgb(194, 119, 247)
HSLhsl(275, 89%, 72%)
HSVhsv(275, 52%, 97%)
CMYKcmyk(21.5%, 51.8%, 0%, 3.1%)
CIE-LABlab(62.83, 51.74, -52.92)
CIE-LCHlch(62.83, 74.01, 314.36°)
OKLaboklab(70.12% 0.1216 -0.1482)
OKLCHoklch(70.12% 0.192 309.4)
XYZxyz(45.6302, 31.3791, 91.6306)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C277F7 #ACF777
analogous
#8277F7 #C277F7 #F777EC
triadic
#C277F7 #F7C277 #77F7C2
tetradic
#C277F7 #F78277 #ACF777 #77ECF7
square
#C277F7 #F78277 #ACF777 #77ECF7
split-complementary
#C277F7 #ECF777 #77F782
monochromatic
#8C0EE6 #A83DF4 #C277F7 #DCB1FA #F2E2FD

Accessibility & contrast

On white

2.89
#C277F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#C277F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C277F7
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C277F7#FFFFFF#000000##000000
##C277F71.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#BB8DAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c277f7;
/* rgb */ color: rgb(194, 119, 247);
/* oklch */ color: oklch(70.1% 0.192 309.4);
Tailwind
colors: {
  custom: {
    50: '#d7a0fa',
    500: '#c277f7',
    950: '#000000',
  },
}
SCSS
$custom: #c277f7;
$custom-light: #d7a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c277f7",
  "rgb": {
    "r": 194,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 275.156,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70117,
    "c": 0.19173,
    "h": 309.4
  },
  "luminance": 0.31378
}

Semantic roles & 50–950 ramp

primary
#C277F7
secondary
#E2F5D5
accent
#E6005F
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C277F7

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

Preview Lab → · Contrast checker → · Palette generator →

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