#C177F2#C177F2

#C177F2 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.7% C 0.186 H 310.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C177F2
RGBrgb(193, 119, 242)
HSLhsl(276, 83%, 71%)
HSVhsv(276, 51%, 95%)
CMYKcmyk(20.2%, 50.8%, 0%, 5.1%)
CIE-LABlab(62.46, 50.39, -50.75)
CIE-LCHlch(62.46, 71.52, 314.80°)
OKLaboklab(69.74% 0.12 -0.1419)
OKLCHoklch(69.74% 0.186 310.2)
XYZxyz(44.6132, 30.9427, 87.6095)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C177F2 #A8F277
analogous
#8377F2 #C177F2 #F277E5
triadic
#C177F2 #F2C177 #77F2C1
tetradic
#C177F2 #F28377 #A8F277 #77E5F2
square
#C177F2 #F28377 #A8F277 #77E5F2
split-complementary
#C177F2 #E5F277 #77F283
monochromatic
#8B15DA #A83FED #C177F2 #DAAFF7 #F2E3FC

Accessibility & contrast

On white

2.92
#C177F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#C177F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C177F2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C177F2#FFFFFF#000000##000000
##C177F21.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#6D98EF
Tritanopia (blue-blind)
#BB8CAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c177f2;
/* rgb */ color: rgb(193, 119, 242);
/* oklch */ color: oklch(69.7% 0.186 310.2);
Tailwind
colors: {
  custom: {
    50: '#d6a0f7',
    500: '#c177f2',
    950: '#000000',
  },
}
SCSS
$custom: #c177f2;
$custom-light: #d6a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c177f2",
  "rgb": {
    "r": 193,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 276.098,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69738,
    "c": 0.18586,
    "h": 310.2
  },
  "luminance": 0.30942
}

Semantic roles & 50–950 ramp

primary
#C177F2
secondary
#DFF3D2
accent
#DF075D
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C177F2

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

Preview Lab → · Contrast checker → · Palette generator →

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