#C181E2#C181E2

#C181E2 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.5% C 0.152 H 313.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#C181E2
RGBrgb(193, 129, 226)
HSLhsl(280, 63%, 70%)
HSVhsv(280, 43%, 89%)
CMYKcmyk(14.6%, 42.9%, 0%, 11.4%)
CIE-LABlab(63.78, 41.65, -39.80)
CIE-LCHlch(63.78, 57.61, 316.30°)
OKLaboklab(70.47% 0.1042 -0.1103)
OKLCHoklch(70.47% 0.152 313.4)
XYZxyz(43.5678, 32.5299, 75.9206)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181E2 #A2E281
analogous
#9181E2 #C181E2 #E281D2
triadic
#C181E2 #E2C181 #81E2C1
tetradic
#C181E2 #E29181 #A2E281 #81D2E2
square
#C181E2 #E29181 #A2E281 #81D2E2
split-complementary
#C181E2 #D2E281 #81E291
monochromatic
#8C2CBD #A94FD7 #C181E2 #D9B3ED #F2E4F9

Accessibility & contrast

On white

2.80
#C181E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#C181E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181E2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181E2#FFFFFF#000000##000000
##C181E21.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#7F9CDF
Tritanopia (blue-blind)
#BE8FA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c181e2;
/* rgb */ color: rgb(193, 129, 226);
/* oklch */ color: oklch(70.5% 0.152 313.4);
Tailwind
colors: {
  custom: {
    50: '#d5a7eb',
    500: '#c181e2',
    950: '#000000',
  },
}
SCSS
$custom: #c181e2;
$custom-light: #d5a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c181e2",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 279.588,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70471,
    "c": 0.15169,
    "h": 313.4
  },
  "luminance": 0.32529
}

Semantic roles & 50–950 ramp

primary
#C181E2
secondary
#DBEDD2
accent
#CA1B57
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C181E2

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

Preview Lab → · Contrast checker → · Palette generator →

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