#C177EF#C177EF

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

Color values

HEX#C177EF
RGBrgb(193, 119, 239)
HSLhsl(277, 79%, 70%)
HSVhsv(277, 50%, 94%)
CMYKcmyk(19.2%, 50.2%, 0%, 6.3%)
CIE-LABlab(62.31, 49.74, -49.33)
CIE-LCHlch(62.31, 70.05, 315.24°)
OKLaboklab(69.58% 0.1197 -0.1378)
OKLCHoklch(69.58% 0.183 311)
XYZxyz(44.1663, 30.7640, 85.2560)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C177EF #A5EF77
analogous
#8577EF #C177EF #EF77E1
triadic
#C177EF #EFC177 #77EFC1
tetradic
#C177EF #EF8577 #A5EF77 #77E1EF
square
#C177EF #EF8577 #A5EF77 #77E1EF
split-complementary
#C177EF #E1EF77 #77EF85
monochromatic
#8B19D3 #A840E9 #C177EF #DAAEF5 #F3E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C177EF#FFFFFF#000000##000000
##C177EF1.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)
#5893F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#BC8BA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c177ef;
/* rgb */ color: rgb(193, 119, 239);
/* oklch */ color: oklch(69.6% 0.183 311.0);
Tailwind
colors: {
  custom: {
    50: '#d6a0f5',
    500: '#c177ef',
    950: '#000000',
  },
}
SCSS
$custom: #c177ef;
$custom-light: #d6a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c177ef",
  "rgb": {
    "r": 193,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 277,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69577,
    "c": 0.18254,
    "h": 311
  },
  "luminance": 0.30763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C177EF

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

Preview Lab → · Contrast checker → · Palette generator →

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