#C176F3#C176F3

#C176F3 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.6% C 0.189 H 310.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C176F3
RGBrgb(193, 118, 243)
HSLhsl(276, 84%, 71%)
HSVhsv(276, 51%, 95%)
CMYKcmyk(20.6%, 51.4%, 0%, 4.7%)
CIE-LABlab(62.31, 51.13, -51.54)
CIE-LCHlch(62.31, 72.60, 314.77°)
OKLaboklab(69.64% 0.1214 -0.1442)
OKLCHoklch(69.64% 0.189 310.1)
XYZxyz(44.6454, 30.7662, 88.3632)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C176F3 #A8F376
analogous
#8276F3 #C176F3 #F376E6
triadic
#C176F3 #F3C176 #76F3C1
tetradic
#C176F3 #F38276 #A8F376 #76E6F3
square
#C176F3 #F38276 #A8F376 #76E6F3
split-complementary
#C176F3 #E6F376 #76F382
monochromatic
#8B13DB #A83EEE #C176F3 #DAAEF8 #F2E3FD

Accessibility & contrast

On white

2.94
#C176F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C176F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C176F3
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C176F3#FFFFFF#000000##000000
##C176F31.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F7
Deuteranopia (green-blind)
#6B98F0
Tritanopia (blue-blind)
#BB8BAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c176f3;
/* rgb */ color: rgb(193, 118, 243);
/* oklch */ color: oklch(69.6% 0.189 310.1);
Tailwind
colors: {
  custom: {
    50: '#d6a0f7',
    500: '#c176f3',
    950: '#000000',
  },
}
SCSS
$custom: #c176f3;
$custom-light: #d6a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c176f3",
  "rgb": {
    "r": 193,
    "g": 118,
    "b": 243
  },
  "hsl": {
    "h": 276,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69644,
    "c": 0.18852,
    "h": 310.1
  },
  "luminance": 0.30765
}

Semantic roles & 50–950 ramp

primary
#C176F3
secondary
#DFF3D2
accent
#E0055D
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C176F3

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

Preview Lab → · Contrast checker → · Palette generator →

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