#C186FB#C186FB

#C186FB is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.5% C 0.173 H 305.8°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#C186FB
RGBrgb(193, 134, 251)
HSLhsl(270, 94%, 75%)
HSVhsv(270, 47%, 98%)
CMYKcmyk(23.1%, 46.6%, 0%, 1.6%)
CIE-LABlab(66.02, 44.42, -50.06)
CIE-LCHlch(66.02, 66.93, 311.59°)
OKLaboklab(72.53% 0.101 -0.14)
OKLCHoklch(72.53% 0.173 305.8)
XYZxyz(47.9264, 35.3530, 95.5471)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C186FB #C0FB86
analogous
#8686FB #C186FB #FB86FB
triadic
#C186FB #FBC186 #86FBC1
tetradic
#C186FB #FB8686 #C0FB86 #86FBFB
square
#C186FB #FB8686 #C0FB86 #86FBFB
split-complementary
#C186FB #FBFB86 #86FB86
monochromatic
#8410F7 #A34BF9 #C186FB #DFC1FD #F0E1FE

Accessibility & contrast

On white

2.60
#C186FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#C186FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C186FB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C186FB#FFFFFF#000000##000000
##C186FB1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#B89AB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c186fb;
/* rgb */ color: rgb(193, 134, 251);
/* oklch */ color: oklch(72.5% 0.173 305.8);
Tailwind
colors: {
  custom: {
    50: '#d6aafd',
    500: '#c186fb',
    950: '#000000',
  },
}
SCSS
$custom: #c186fb;
$custom-light: #d6aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#c186fb",
  "rgb": {
    "r": 193,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 270.256,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72533,
    "c": 0.17264,
    "h": 305.8
  },
  "luminance": 0.35353
}

Semantic roles & 50–950 ramp

primary
#C186FB
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C186FB

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

Preview Lab → · Contrast checker → · Palette generator →

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