#C179F1#C179F1

#C179F1 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.182 H 310.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C179F1
RGBrgb(193, 121, 241)
HSLhsl(276, 81%, 71%)
HSVhsv(276, 50%, 95%)
CMYKcmyk(19.9%, 49.8%, 0%, 5.5%)
CIE-LABlab(62.81, 49.13, -49.63)
CIE-LCHlch(62.81, 69.83, 314.71°)
OKLaboklab(69.98% 0.1172 -0.1387)
OKLCHoklch(69.98% 0.182 310.2)
XYZxyz(44.7039, 31.3638, 86.9009)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C179F1 #A9F179
analogous
#8579F1 #C179F1 #F179E5
triadic
#C179F1 #F1C179 #79F1C1
tetradic
#C179F1 #F18579 #A9F179 #79E5F1
square
#C179F1 #F18579 #A9F179 #79E5F1
split-complementary
#C179F1 #E5F179 #79F185
monochromatic
#8B17D9 #A742EB #C179F1 #DBB0F7 #F2E3FC

Accessibility & contrast

On white

2.89
#C179F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#C179F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C179F1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C179F1#FFFFFF#000000##000000
##C179F11.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F5
Deuteranopia (green-blind)
#6F99EE
Tritanopia (blue-blind)
#BB8DAA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c179f1;
/* rgb */ color: rgb(193, 121, 241);
/* oklch */ color: oklch(70.0% 0.182 310.2);
Tailwind
colors: {
  custom: {
    50: '#d6a2f6',
    500: '#c179f1',
    950: '#000000',
  },
}
SCSS
$custom: #c179f1;
$custom-light: #d6a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c179f1",
  "rgb": {
    "r": 193,
    "g": 121,
    "b": 241
  },
  "hsl": {
    "h": 276,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69984,
    "c": 0.18161,
    "h": 310.2
  },
  "luminance": 0.31363
}

Semantic roles & 50–950 ramp

primary
#C179F1
secondary
#E0F3D3
accent
#DD085D
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C179F1

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

Preview Lab → · Contrast checker → · Palette generator →

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