#C181D8#C181D8

#C181D8 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.0% C 0.140 H 316.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#C181D8
RGBrgb(193, 129, 216)
HSLhsl(284, 53%, 68%)
HSVhsv(284, 40%, 85%)
CMYKcmyk(10.6%, 40.3%, 0%, 15.3%)
CIE-LABlab(63.34, 39.56, -34.91)
CIE-LCHlch(63.34, 52.77, 318.57°)
OKLaboklab(70% 0.1023 -0.0962)
OKLCHoklch(70% 0.14 316.8)
XYZxyz(42.2354, 31.9970, 68.9036)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181D8 #98D881
analogous
#9681D8 #C181D8 #D881C3
triadic
#C181D8 #D8C181 #81D8C1
tetradic
#C181D8 #D89681 #98D881 #81C3D8
square
#C181D8 #D89681 #98D881 #81C3D8
split-complementary
#C181D8 #C3D881 #81D896
monochromatic
#8B35AA #AA52CA #C181D8 #D8B0E6 #EFDEF5

Accessibility & contrast

On white

2.84
#C181D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#C181D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181D8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181D8#FFFFFF#000000##000000
##C181D81.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7395DB
Deuteranopia (green-blind)
#839BD5
Tritanopia (blue-blind)
#C08CA2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c181d8;
/* rgb */ color: rgb(193, 129, 216);
/* oklch */ color: oklch(70.0% 0.140 316.8);
Tailwind
colors: {
  custom: {
    50: '#d5a7e4',
    500: '#c181d8',
    950: '#000000',
  },
}
SCSS
$custom: #c181d8;
$custom-light: #d5a7e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c181d8",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 216
  },
  "hsl": {
    "h": 284.138,
    "s": 52.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69999,
    "c": 0.14045,
    "h": 316.8
  },
  "luminance": 0.31996
}

Semantic roles & 50–950 ramp

primary
#C181D8
secondary
#D4E8CD
accent
#C0254E
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F15
muted
#837F84

Preview Lab

Preview with #C181D8

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

Preview Lab → · Contrast checker → · Palette generator →

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