#C186EF#C186EF

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

Color values

HEX#C186EF
RGBrgb(193, 134, 239)
HSLhsl(274, 77%, 73%)
HSVhsv(274, 44%, 94%)
CMYKcmyk(19.2%, 43.9%, 0%, 6.3%)
CIE-LABlab(65.45, 41.75, -44.37)
CIE-LCHlch(65.45, 60.92, 313.26°)
OKLaboklab(71.92% 0.0993 -0.1235)
OKLCHoklch(71.92% 0.158 308.8)
XYZxyz(46.0944, 34.6202, 85.8987)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C186EF #B4EF86
analogous
#8C86EF #C186EF #EF86E9
triadic
#C186EF #EFC186 #86EFC1
tetradic
#C186EF #EF8C86 #B4EF86 #86E9EF
square
#C186EF #EF8C86 #B4EF86 #86E9EF
split-complementary
#C186EF #E9EF86 #86EF8C
monochromatic
#891DDD #A550E8 #C186EF #DDBCF6 #F1E4FB

Accessibility & contrast

On white

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

On black

7.92
#C186EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C186EF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C186EF#FFFFFF#000000##000000
##C186EF1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#BB97AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c186ef;
/* rgb */ color: rgb(193, 134, 239);
/* oklch */ color: oklch(71.9% 0.158 308.8);
Tailwind
colors: {
  custom: {
    50: '#d5aaf4',
    500: '#c186ef',
    950: '#000000',
  },
}
SCSS
$custom: #c186ef;
$custom-light: #d5aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c186ef",
  "rgb": {
    "r": 193,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 273.714,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7192,
    "c": 0.15848,
    "h": 308.8
  },
  "luminance": 0.3462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C186EF

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

Preview Lab → · Contrast checker → · Palette generator →

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