#C181F7#C181F7

#C181F7 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.5% C 0.176 H 307.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#C181F7
RGBrgb(193, 129, 247)
HSLhsl(273, 88%, 74%)
HSVhsv(273, 48%, 97%)
CMYKcmyk(21.9%, 47.8%, 0%, 3.1%)
CIE-LABlab(64.77, 46.21, -49.85)
CIE-LCHlch(64.77, 67.97, 312.83°)
OKLaboklab(71.53% 0.1072 -0.1394)
OKLCHoklch(71.53% 0.176 307.6)
XYZxyz(46.6277, 33.7539, 92.0364)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181F7 #B7F781
analogous
#8681F7 #C181F7 #F781F2
triadic
#C181F7 #F7C181 #81F7C1
tetradic
#C181F7 #F78681 #B7F781 #81F2F7
square
#C181F7 #F78681 #B7F781 #81F2F7
split-complementary
#C181F7 #F2F781 #81F786
monochromatic
#880FEE #A547F3 #C181F7 #DDBBFB #F1E2FD

Accessibility & contrast

On white

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

On black

7.75
#C181F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181F7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181F7#FFFFFF#000000##000000
##C181F71.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#739EF4
Tritanopia (blue-blind)
#B995B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c181f7;
/* rgb */ color: rgb(193, 129, 247);
/* oklch */ color: oklch(71.5% 0.176 307.6);
Tailwind
colors: {
  custom: {
    50: '#d6a7fa',
    500: '#c181f7',
    950: '#000000',
  },
}
SCSS
$custom: #c181f7;
$custom-light: #d6a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c181f7",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 272.542,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71533,
    "c": 0.17585,
    "h": 307.6
  },
  "luminance": 0.33753
}

Semantic roles & 50–950 ramp

primary
#C181F7
secondary
#E4F5D6
accent
#E50169
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C181F7

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

Preview Lab → · Contrast checker → · Palette generator →

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