#C177FB#C177FB

#C177FB is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.2% C 0.196 H 308.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#C177FB
RGBrgb(193, 119, 251)
HSLhsl(274, 94%, 73%)
HSVhsv(274, 53%, 98%)
CMYKcmyk(23.1%, 52.6%, 0%, 1.6%)
CIE-LABlab(62.92, 52.37, -54.97)
CIE-LCHlch(62.92, 75.92, 313.61°)
OKLaboklab(70.23% 0.1207 -0.1543)
OKLCHoklch(70.23% 0.196 308)
XYZxyz(45.9983, 31.4967, 94.9044)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C177FB #B1FB77
analogous
#7F77FB #C177FB #FB77F3
triadic
#C177FB #FBC177 #77FBC1
tetradic
#C177FB #FB7F77 #B1FB77 #77F3FB
square
#C177FB #FB7F77 #B1FB77 #77F3FB
split-complementary
#C177FB #F3FB77 #77FB7F
monochromatic
#8A07F1 #A63CF9 #C177FB #DCB2FD #F1E1FE

Accessibility & contrast

On white

2.88
#C177FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#C177FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C177FB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C177FB#FFFFFF#000000##000000
##C177FB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#6799F8
Tritanopia (blue-blind)
#B98EAE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c177fb;
/* rgb */ color: rgb(193, 119, 251);
/* oklch */ color: oklch(70.2% 0.196 308.0);
Tailwind
colors: {
  custom: {
    50: '#d7a0fd',
    500: '#c177fb',
    950: '#000000',
  },
}
SCSS
$custom: #c177fb;
$custom-light: #d7a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c177fb",
  "rgb": {
    "r": 193,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 273.636,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70233,
    "c": 0.19586,
    "h": 308
  },
  "luminance": 0.31496
}

Semantic roles & 50–950 ramp

primary
#C177FB
secondary
#E3F6D5
accent
#E60065
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C177FB

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

Preview Lab → · Contrast checker → · Palette generator →

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