#C176EF#C176EF

#C176EF is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.4% C 0.184 H 311.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#C176EF
RGBrgb(193, 118, 239)
HSLhsl(277, 79%, 70%)
HSVhsv(277, 51%, 94%)
CMYKcmyk(19.2%, 50.6%, 0%, 6.3%)
CIE-LABlab(62.11, 50.26, -49.64)
CIE-LCHlch(62.11, 70.65, 315.36°)
OKLaboklab(69.43% 0.121 -0.1387)
OKLCHoklch(69.43% 0.184 311.1)
XYZxyz(44.0479, 30.5272, 85.2165)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C176EF #A4EF76
analogous
#8476EF #C176EF #EF76E1
triadic
#C176EF #EFC176 #76EFC1
tetradic
#C176EF #EF8476 #A4EF76 #76E1EF
square
#C176EF #EF8476 #A4EF76 #76E1EF
split-complementary
#C176EF #E1EF76 #76EF84
monochromatic
#8C19D2 #A83FE9 #C176EF #DAADF5 #F3E4FC

Accessibility & contrast

On white

2.96
#C176EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#C176EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C176EF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C176EF#FFFFFF#000000##000000
##C176EF1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#BC8AA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c176ef;
/* rgb */ color: rgb(193, 118, 239);
/* oklch */ color: oklch(69.4% 0.184 311.1);
Tailwind
colors: {
  custom: {
    50: '#d6a0f5',
    500: '#c176ef',
    950: '#000000',
  },
}
SCSS
$custom: #c176ef;
$custom-light: #d6a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c176ef",
  "rgb": {
    "r": 193,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 277.19,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.69427,
    "c": 0.1841,
    "h": 311.1
  },
  "luminance": 0.30526
}

Semantic roles & 50–950 ramp

primary
#C176EF
secondary
#DCF1CF
accent
#DB0A5A
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C176EF

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

Preview Lab → · Contrast checker → · Palette generator →

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