#C179F9#C179F9

#C179F9 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.4% C 0.191 H 308.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#C179F9
RGBrgb(193, 121, 249)
HSLhsl(274, 91%, 73%)
HSVhsv(274, 51%, 98%)
CMYKcmyk(22.5%, 51.4%, 0%, 2.4%)
CIE-LABlab(63.22, 50.88, -53.40)
CIE-LCHlch(63.22, 73.76, 313.62°)
OKLaboklab(70.42% 0.118 -0.1497)
OKLCHoklch(70.42% 0.191 308.2)
XYZxyz(45.9252, 31.8524, 93.3329)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C179F9 #B1F979
analogous
#8179F9 #C179F9 #F979F1
triadic
#C179F9 #F9C179 #79F9C1
tetradic
#C179F9 #F98179 #B1F979 #79F1F9
square
#C179F9 #F98179 #B1F979 #79F1F9
split-complementary
#C179F9 #F1F979 #79F981
monochromatic
#8A0BED #A63EF6 #C179F9 #DCB4FC #F1E2FE

Accessibility & contrast

On white

2.85
#C179F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#C179F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C179F9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C179F9#FFFFFF#000000##000000
##C179F91.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FD
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#B98FAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c179f9;
/* rgb */ color: rgb(193, 121, 249);
/* oklch */ color: oklch(70.4% 0.191 308.2);
Tailwind
colors: {
  custom: {
    50: '#d6a2fc',
    500: '#c179f9',
    950: '#000000',
  },
}
SCSS
$custom: #c179f9;
$custom-light: #d6a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c179f9",
  "rgb": {
    "r": 193,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 273.75,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70418,
    "c": 0.19058,
    "h": 308.2
  },
  "luminance": 0.31852
}

Semantic roles & 50–950 ramp

primary
#C179F9
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C179F9

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

Preview Lab → · Contrast checker → · Palette generator →

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