#C181F1#C181F1

#C181F1 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.2% C 0.169 H 309.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#C181F1
RGBrgb(193, 129, 241)
HSLhsl(274, 80%, 73%)
HSVhsv(274, 46%, 95%)
CMYKcmyk(19.9%, 46.5%, 0%, 5.5%)
CIE-LABlab(64.48, 44.88, -47.01)
CIE-LCHlch(64.48, 64.99, 313.67°)
OKLaboklab(71.22% 0.1065 -0.1311)
OKLCHoklch(71.22% 0.169 309.1)
XYZxyz(45.7167, 33.3895, 87.2385)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181F1 #B1F181
analogous
#8981F1 #C181F1 #F181E9
triadic
#C181F1 #F1C181 #81F1C1
tetradic
#C181F1 #F18981 #B1F181 #81E9F1
square
#C181F1 #F18981 #B1F181 #81E9F1
split-complementary
#C181F1 #E9F181 #81F189
monochromatic
#8A19DF #A64AEB #C181F1 #DCB8F7 #F1E3FC

Accessibility & contrast

On white

2.74
#C181F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#C181F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181F1
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181F1#FFFFFF#000000##000000
##C181F11.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF5
Deuteranopia (green-blind)
#779DEE
Tritanopia (blue-blind)
#BB93AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c181f1;
/* rgb */ color: rgb(193, 129, 241);
/* oklch */ color: oklch(71.2% 0.169 309.1);
Tailwind
colors: {
  custom: {
    50: '#d6a7f6',
    500: '#c181f1',
    950: '#000000',
  },
}
SCSS
$custom: #c181f1;
$custom-light: #d6a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c181f1",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 241
  },
  "hsl": {
    "h": 274.286,
    "s": 80,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7122,
    "c": 0.1689,
    "h": 309.1
  },
  "luminance": 0.33389
}

Semantic roles & 50–950 ramp

primary
#C181F1
secondary
#E3F4D7
accent
#DC0964
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #C181F1

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

Preview Lab → · Contrast checker → · Palette generator →

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