#C186EE#C186EE

#C186EE is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.9% C 0.157 H 309.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C186EE
RGBrgb(193, 134, 238)
HSLhsl(274, 75%, 73%)
HSVhsv(274, 44%, 93%)
CMYKcmyk(18.9%, 43.7%, 0%, 6.7%)
CIE-LABlab(65.41, 41.53, -43.89)
CIE-LCHlch(65.41, 60.42, 313.42°)
OKLaboklab(71.87% 0.0992 -0.1221)
OKLCHoklch(71.87% 0.157 309.1)
XYZxyz(45.9471, 34.5613, 85.1228)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C186EE #B3EE86
analogous
#8D86EE #C186EE #EE86E7
triadic
#C186EE #EEC186 #86EEC1
tetradic
#C186EE #EE8D86 #B3EE86 #86E7EE
square
#C186EE #EE8D86 #B3EE86 #86E7EE
split-complementary
#C186EE #E7EE86 #86EE8D
monochromatic
#891FDB #A650E6 #C186EE #DCBCF6 #F1E4FB

Accessibility & contrast

On white

2.65
#C186EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#C186EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C186EE
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C186EE#FFFFFF#000000##000000
##C186EE1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#7DA0EB
Tritanopia (blue-blind)
#BB96AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c186ee;
/* rgb */ color: rgb(193, 134, 238);
/* oklch */ color: oklch(71.9% 0.157 309.1);
Tailwind
colors: {
  custom: {
    50: '#d5aaf4',
    500: '#c186ee',
    950: '#000000',
  },
}
SCSS
$custom: #c186ee;
$custom-light: #d5aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c186ee",
  "rgb": {
    "r": 193,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 274.038,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7187,
    "c": 0.15731,
    "h": 309.1
  },
  "luminance": 0.34561
}

Semantic roles & 50–950 ramp

primary
#C186EE
secondary
#E4F3D8
accent
#D80E65
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C186EE

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

Preview Lab → · Contrast checker → · Palette generator →

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