#C181EF#C181EF

#C181EF is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.1% C 0.167 H 309.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#C181EF
RGBrgb(193, 129, 239)
HSLhsl(275, 77%, 72%)
HSVhsv(275, 46%, 94%)
CMYKcmyk(19.2%, 46%, 0%, 6.3%)
CIE-LABlab(64.38, 44.44, -46.05)
CIE-LCHlch(64.38, 64.00, 313.98°)
OKLaboklab(71.12% 0.1062 -0.1283)
OKLCHoklch(71.12% 0.167 309.6)
XYZxyz(45.4197, 33.2706, 85.6738)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181EF #AFEF81
analogous
#8A81EF #C181EF #EF81E6
triadic
#C181EF #EFC181 #81EFC1
tetradic
#C181EF #EF8A81 #AFEF81 #81E6EF
square
#C181EF #EF8A81 #AFEF81 #81E6EF
split-complementary
#C181EF #E6EF81 #81EF8A
monochromatic
#8A1CDA #A64BE8 #C181EF #DCB7F6 #F2E4FC

Accessibility & contrast

On white

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

On black

7.65
#C181EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181EF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181EF#FFFFFF#000000##000000
##C181EF1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#BB93AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c181ef;
/* rgb */ color: rgb(193, 129, 239);
/* oklch */ color: oklch(71.1% 0.167 309.6);
Tailwind
colors: {
  custom: {
    50: '#d6a7f4',
    500: '#c181ef',
    950: '#000000',
  },
}
SCSS
$custom: #c181ef;
$custom-light: #d6a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c181ef",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 274.909,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71117,
    "c": 0.16659,
    "h": 309.6
  },
  "luminance": 0.3327
}

Semantic roles & 50–950 ramp

primary
#C181EF
secondary
#E3F3D8
accent
#DA0C62
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C181EF

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

Preview Lab → · Contrast checker → · Palette generator →

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