#C176F5#C176F5

#C176F5 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.8% C 0.191 H 309.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C176F5
RGBrgb(193, 118, 245)
HSLhsl(275, 86%, 71%)
HSVhsv(275, 52%, 96%)
CMYKcmyk(21.2%, 51.8%, 0%, 3.9%)
CIE-LABlab(62.41, 51.57, -52.48)
CIE-LCHlch(62.41, 73.57, 314.50°)
OKLaboklab(69.75% 0.1215 -0.147)
OKLCHoklch(69.75% 0.191 309.6)
XYZxyz(44.9491, 30.8876, 89.9625)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C176F5 #AAF576
analogous
#8176F5 #C176F5 #F576EA
triadic
#C176F5 #F5C176 #76F5C1
tetradic
#C176F5 #F58176 #AAF576 #76EAF5
square
#C176F5 #F58176 #AAF576 #76EAF5
split-complementary
#C176F5 #EAF576 #76F581
monochromatic
#8B10E0 #A73DF1 #C176F5 #DBAFF9 #F2E2FD

Accessibility & contrast

On white

2.93
#C176F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#C176F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C176F5
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C176F5#FFFFFF#000000##000000
##C176F51.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294F9
Deuteranopia (green-blind)
#6A98F2
Tritanopia (blue-blind)
#BA8CAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c176f5;
/* rgb */ color: rgb(193, 118, 245);
/* oklch */ color: oklch(69.8% 0.191 309.6);
Tailwind
colors: {
  custom: {
    50: '#d6a0f9',
    500: '#c176f5',
    950: '#000000',
  },
}
SCSS
$custom: #c176f5;
$custom-light: #d6a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c176f5",
  "rgb": {
    "r": 193,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 275.433,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69753,
    "c": 0.19073,
    "h": 309.6
  },
  "luminance": 0.30887
}

Semantic roles & 50–950 ramp

primary
#C176F5
secondary
#E0F4D3
accent
#E3035E
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C176F5

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

Preview Lab → · Contrast checker → · Palette generator →

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