#C181EC#C181EC

#C181EC is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.0% C 0.163 H 310.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#C181EC
RGBrgb(193, 129, 236)
HSLhsl(276, 74%, 72%)
HSVhsv(276, 45%, 93%)
CMYKcmyk(18.2%, 45.3%, 0%, 7.5%)
CIE-LABlab(64.24, 43.79, -44.62)
CIE-LCHlch(64.24, 62.52, 314.46°)
OKLaboklab(70.97% 0.1058 -0.1242)
OKLCHoklch(70.97% 0.163 310.4)
XYZxyz(44.9801, 33.0948, 83.3590)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181EC #ACEC81
analogous
#8C81EC #C181EC #EC81E2
triadic
#C181EC #ECC181 #81ECC1
tetradic
#C181EC #EC8C81 #ACEC81 #81E2EC
square
#C181EC #EC8C81 #ACEC81 #81E2EC
split-complementary
#C181EC #E2EC81 #81EC8C
monochromatic
#8B20D3 #A74CE4 #C181EC #DBB6F4 #F2E4FB

Accessibility & contrast

On white

2.76
#C181EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#C181EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181EC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181EC#FFFFFF#000000##000000
##C181EC1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#BC92AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c181ec;
/* rgb */ color: rgb(193, 129, 236);
/* oklch */ color: oklch(71.0% 0.163 310.4);
Tailwind
colors: {
  custom: {
    50: '#d6a7f2',
    500: '#c181ec',
    950: '#000000',
  },
}
SCSS
$custom: #c181ec;
$custom-light: #d6a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c181ec",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 275.888,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70965,
    "c": 0.16314,
    "h": 310.4
  },
  "luminance": 0.33094
}

Semantic roles & 50–950 ramp

primary
#C181EC
secondary
#E2F2D7
accent
#D6105F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C181EC

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

Preview Lab → · Contrast checker → · Palette generator →

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