#C181F0#C181F0

#C181F0 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.2% C 0.168 H 309.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#C181F0
RGBrgb(193, 129, 240)
HSLhsl(275, 79%, 72%)
HSVhsv(275, 46%, 94%)
CMYKcmyk(19.6%, 46.3%, 0%, 5.9%)
CIE-LABlab(64.43, 44.66, -46.53)
CIE-LCHlch(64.43, 64.50, 313.83°)
OKLaboklab(71.17% 0.1063 -0.1297)
OKLCHoklch(71.17% 0.168 309.3)
XYZxyz(45.5678, 33.3299, 86.4540)
Luminance0.3333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181F0 #B0F081
analogous
#8A81F0 #C181F0 #F081E7
triadic
#C181F0 #F0C181 #81F0C1
tetradic
#C181F0 #F08A81 #B0F081 #81E7F0
square
#C181F0 #F08A81 #B0F081 #81E7F0
split-complementary
#C181F0 #E7F081 #81F08A
monochromatic
#8A1ADC #A64AE9 #C181F0 #DCB8F7 #F2E4FC

Accessibility & contrast

On white

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

On black

7.67
#C181F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181F0
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181F0#FFFFFF#000000##000000
##C181F01.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#789DED
Tritanopia (blue-blind)
#BB93AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c181f0;
/* rgb */ color: rgb(193, 129, 240);
/* oklch */ color: oklch(71.2% 0.168 309.3);
Tailwind
colors: {
  custom: {
    50: '#d6a7f5',
    500: '#c181f0',
    950: '#000000',
  },
}
SCSS
$custom: #c181f0;
$custom-light: #d6a7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c181f0",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 240
  },
  "hsl": {
    "h": 274.595,
    "s": 78.723,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71169,
    "c": 0.16775,
    "h": 309.3
  },
  "luminance": 0.33329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C181F0

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

Preview Lab → · Contrast checker → · Palette generator →

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