#C186EA#C186EA

#C186EA is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.7% C 0.153 H 310.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#C186EA
RGBrgb(193, 134, 234)
HSLhsl(275, 70%, 72%)
HSVhsv(275, 43%, 92%)
CMYKcmyk(17.5%, 42.7%, 0%, 8.2%)
CIE-LABlab(65.22, 40.65, -41.97)
CIE-LCHlch(65.22, 58.43, 314.09°)
OKLaboklab(71.67% 0.0985 -0.1165)
OKLCHoklch(71.67% 0.153 310.2)
XYZxyz(45.3660, 34.3289, 82.0622)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C186EA #AFEA86
analogous
#8F86EA #C186EA #EA86E1
triadic
#C186EA #EAC186 #86EAC1
tetradic
#C186EA #EA8F86 #AFEA86 #86E1EA
square
#C186EA #EA8F86 #AFEA86 #86E1EA
split-complementary
#C186EA #E1EA86 #86EA8F
monochromatic
#8A24D1 #A652E1 #C186EA #DCBAF3 #F2E5FA

Accessibility & contrast

On white

2.67
#C186EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#C186EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C186EA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C186EA#FFFFFF#000000##000000
##C186EA1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#BC95AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c186ea;
/* rgb */ color: rgb(193, 134, 234);
/* oklch */ color: oklch(71.7% 0.153 310.2);
Tailwind
colors: {
  custom: {
    50: '#d5aaf1',
    500: '#c186ea',
    950: '#000000',
  },
}
SCSS
$custom: #c186ea;
$custom-light: #d5aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c186ea",
  "rgb": {
    "r": 193,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 275.4,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.15261,
    "h": 310.2
  },
  "luminance": 0.34328
}

Semantic roles & 50–950 ramp

primary
#C186EA
secondary
#E3F2D9
accent
#D21362
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C186EA

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

Preview Lab → · Contrast checker → · Palette generator →

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