#C181F6#C181F6

#C181F6 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.5% C 0.175 H 307.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C181F6
RGBrgb(193, 129, 246)
HSLhsl(273, 87%, 74%)
HSVhsv(273, 48%, 96%)
CMYKcmyk(21.5%, 47.6%, 0%, 3.5%)
CIE-LABlab(64.72, 45.99, -49.38)
CIE-LCHlch(64.72, 67.47, 312.96°)
OKLaboklab(71.48% 0.1071 -0.138)
OKLCHoklch(71.48% 0.175 307.8)
XYZxyz(46.4739, 33.6923, 91.2259)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181F6 #B6F681
analogous
#8681F6 #C181F6 #F681F0
triadic
#C181F6 #F6C181 #81F6C1
tetradic
#C181F6 #F68681 #B6F681 #81F0F6
square
#C181F6 #F68681 #B6F681 #81F0F6
split-complementary
#C181F6 #F0F681 #81F686
monochromatic
#8911EC #A548F2 #C181F6 #DDBAFA #F1E2FD

Accessibility & contrast

On white

2.71
#C181F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#C181F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181F6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181F6#FFFFFF#000000##000000
##C181F61.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AFA
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#B995B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c181f6;
/* rgb */ color: rgb(193, 129, 246);
/* oklch */ color: oklch(71.5% 0.175 307.8);
Tailwind
colors: {
  custom: {
    50: '#d6a7f9',
    500: '#c181f6',
    950: '#000000',
  },
}
SCSS
$custom: #c181f6;
$custom-light: #d6a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c181f6",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 272.821,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7148,
    "c": 0.17468,
    "h": 307.8
  },
  "luminance": 0.33692
}

Semantic roles & 50–950 ramp

primary
#C181F6
secondary
#E4F5D6
accent
#E30268
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C181F6

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

Preview Lab → · Contrast checker → · Palette generator →

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