#C186FA#C186FA

#C186FA is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.5% C 0.171 H 306.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#C186FA
RGBrgb(193, 134, 250)
HSLhsl(271, 92%, 75%)
HSVhsv(271, 46%, 98%)
CMYKcmyk(22.8%, 46.4%, 0%, 2%)
CIE-LABlab(65.97, 44.20, -49.59)
CIE-LCHlch(65.97, 66.43, 311.71°)
OKLaboklab(72.48% 0.1009 -0.1386)
OKLCHoklch(72.48% 0.171 306)
XYZxyz(47.7692, 35.2901, 94.7191)
Luminance0.3529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C186FA #BFFA86
analogous
#8786FA #C186FA #FA86F9
triadic
#C186FA #FAC186 #86FAC1
tetradic
#C186FA #FA8786 #BFFA86 #86F9FA
square
#C186FA #FA8786 #BFFA86 #86F9FA
split-complementary
#C186FA #F9FA86 #86FA87
monochromatic
#8510F5 #A34BF8 #C186FA #DFC1FC #F0E2FE

Accessibility & contrast

On white

2.61
#C186FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#C186FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C186FA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C186FA#FFFFFF#000000##000000
##C186FA1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#B89AB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c186fa;
/* rgb */ color: rgb(193, 134, 250);
/* oklch */ color: oklch(72.5% 0.171 306.0);
Tailwind
colors: {
  custom: {
    50: '#d6aafc',
    500: '#c186fa',
    950: '#000000',
  },
}
SCSS
$custom: #c186fa;
$custom-light: #d6aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#c186fa",
  "rgb": {
    "r": 193,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 270.517,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72481,
    "c": 0.17146,
    "h": 306
  },
  "luminance": 0.3529
}

Semantic roles & 50–950 ramp

primary
#C186FA
secondary
#E5F6D5
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C186FA

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

Preview Lab → · Contrast checker → · Palette generator →

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