#C181EA#C181EA

#C181EA is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.9% C 0.161 H 311.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#C181EA
RGBrgb(193, 129, 234)
HSLhsl(277, 71%, 71%)
HSVhsv(277, 45%, 92%)
CMYKcmyk(17.5%, 44.9%, 0%, 8.2%)
CIE-LABlab(64.14, 43.36, -43.66)
CIE-LCHlch(64.14, 61.53, 314.80°)
OKLaboklab(70.86% 0.1055 -0.1214)
OKLCHoklch(70.86% 0.161 311)
XYZxyz(44.6912, 32.9793, 81.8373)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181EA #AAEA81
analogous
#8C81EA #C181EA #EA81DF
triadic
#C181EA #EAC181 #81EAC1
tetradic
#C181EA #EA8C81 #AAEA81 #81DFEA
square
#C181EA #EA8C81 #AAEA81 #81DFEA
split-complementary
#C181EA #DFEA81 #81EA8C
monochromatic
#8B22CE #A74DE1 #C181EA #DBB5F3 #F2E5FB

Accessibility & contrast

On white

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

On black

7.60
#C181EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181EA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181EA#FFFFFF#000000##000000
##C181EA1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#BC91AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c181ea;
/* rgb */ color: rgb(193, 129, 234);
/* oklch */ color: oklch(70.9% 0.161 311.0);
Tailwind
colors: {
  custom: {
    50: '#d5a7f1',
    500: '#c181ea',
    950: '#000000',
  },
}
SCSS
$custom: #c181ea;
$custom-light: #d5a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c181ea",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 276.571,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70865,
    "c": 0.16084,
    "h": 311
  },
  "luminance": 0.32978
}

Semantic roles & 50–950 ramp

primary
#C181EA
secondary
#E0F1D6
accent
#D3125E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C181EA

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

Preview Lab → · Contrast checker → · Palette generator →

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