#C179EA#C179EA

#C179EA is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.174 H 312.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C179EA
RGBrgb(193, 121, 234)
HSLhsl(278, 73%, 70%)
HSVhsv(278, 48%, 92%)
CMYKcmyk(17.5%, 48.3%, 0%, 8.2%)
CIE-LABlab(62.47, 47.62, -46.30)
CIE-LCHlch(62.47, 66.42, 315.80°)
OKLaboklab(69.62% 0.1165 -0.129)
OKLCHoklch(69.62% 0.174 312.1)
XYZxyz(43.6784, 30.9536, 81.4997)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C179EA #A2EA79
analogous
#8979EA #C179EA #EA79DB
triadic
#C179EA #EAC179 #79EAC1
tetradic
#C179EA #EA8979 #A2EA79 #79DBEA
square
#C179EA #EA8979 #A2EA79 #79DBEA
split-complementary
#C179EA #DBEA79 #79EA89
monochromatic
#8C20C9 #A944E2 #C179EA #D9AEF2 #F2E3FB

Accessibility & contrast

On white

2.92
#C179EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#C179EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C179EA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C179EA#FFFFFF#000000##000000
##C179EA1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#7399E7
Tritanopia (blue-blind)
#BD8BA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c179ea;
/* rgb */ color: rgb(193, 121, 234);
/* oklch */ color: oklch(69.6% 0.174 312.1);
Tailwind
colors: {
  custom: {
    50: '#d6a2f1',
    500: '#c179ea',
    950: '#000000',
  },
}
SCSS
$custom: #c179ea;
$custom-light: #d6a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c179ea",
  "rgb": {
    "r": 193,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 278.23,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69615,
    "c": 0.17381,
    "h": 312.1
  },
  "luminance": 0.30953
}

Semantic roles & 50–950 ramp

primary
#C179EA
secondary
#DBF0CF
accent
#D51158
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C179EA

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

Preview Lab → · Contrast checker → · Palette generator →

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