#C177FE#C177FE

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

Color values

HEX#C177FE
RGBrgb(193, 119, 254)
HSLhsl(273, 99%, 73%)
HSVhsv(273, 53%, 100%)
CMYKcmyk(24%, 53.1%, 0%, 0.4%)
CIE-LABlab(63.08, 53.03, -56.37)
CIE-LCHlch(63.08, 77.39, 313.25°)
OKLaboklab(70.4% 0.1209 -0.1583)
OKLCHoklch(70.4% 0.199 307.4)
XYZxyz(46.4749, 31.6874, 97.4147)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C177FE #B4FE77
analogous
#7D77FE #C177FE #FE77F7
triadic
#C177FE #FEC177 #77FEC1
tetradic
#C177FE #FE7D77 #B4FE77 #77F7FE
square
#C177FE #FE7D77 #B4FE77 #77F7FE
split-complementary
#C177FE #F7FE77 #77FE7D
monochromatic
#8902F9 #A53AFE #C177FE #DDB4FE #F1E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C177FE#FFFFFF#000000##000000
##C177FE1.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)
#4C96FF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#B88FAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c177fe;
/* rgb */ color: rgb(193, 119, 254);
/* oklch */ color: oklch(70.4% 0.199 307.4);
Tailwind
colors: {
  custom: {
    50: '#d7a1ff',
    500: '#c177fe',
    950: '#000000',
  },
}
SCSS
$custom: #c177fe;
$custom-light: #d7a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c177fe",
  "rgb": {
    "r": 193,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 272.889,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70402,
    "c": 0.1992,
    "h": 307.4
  },
  "luminance": 0.31687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C177FE

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

Preview Lab → · Contrast checker → · Palette generator →

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