#C181DF#C181DF

#C181DF is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.3% C 0.148 H 314.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#C181DF
RGBrgb(193, 129, 223)
HSLhsl(281, 59%, 69%)
HSVhsv(281, 42%, 87%)
CMYKcmyk(13.5%, 42.2%, 0%, 12.5%)
CIE-LABlab(63.64, 41.01, -38.34)
CIE-LCHlch(63.64, 56.15, 316.93°)
OKLaboklab(70.33% 0.1037 -0.1061)
OKLCHoklch(70.33% 0.148 314.3)
XYZxyz(43.1597, 32.3667, 73.7715)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181DF #9FDF81
analogous
#9281DF #C181DF #DF81CE
triadic
#C181DF #DFC181 #81DFC1
tetradic
#C181DF #DF9281 #9FDF81 #81CEDF
square
#C181DF #DF9281 #9FDF81 #81CEDF
split-complementary
#C181DF #CEDF81 #81DF92
monochromatic
#8C2FB7 #A950D3 #C181DF #D9B2EB #F1E3F8

Accessibility & contrast

On white

2.81
#C181DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#C181DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181DF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181DF#FFFFFF#000000##000000
##C181DF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E2
Deuteranopia (green-blind)
#809CDC
Tritanopia (blue-blind)
#BF8EA5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c181df;
/* rgb */ color: rgb(193, 129, 223);
/* oklch */ color: oklch(70.3% 0.148 314.3);
Tailwind
colors: {
  custom: {
    50: '#d5a7e9',
    500: '#c181df',
    950: '#000000',
  },
}
SCSS
$custom: #c181df;
$custom-light: #d5a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c181df",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 280.851,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70327,
    "c": 0.1483,
    "h": 314.3
  },
  "luminance": 0.32366
}

Semantic roles & 50–950 ramp

primary
#C181DF
secondary
#D9ECD0
accent
#C71E54
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C181DF

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

Preview Lab → · Contrast checker → · Palette generator →

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