#C186FC#C186FC

#C186FC is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.6% C 0.174 H 305.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#C186FC
RGBrgb(193, 134, 252)
HSLhsl(270, 95%, 76%)
HSVhsv(270, 47%, 99%)
CMYKcmyk(23.4%, 46.8%, 0%, 1.2%)
CIE-LABlab(66.07, 44.65, -50.53)
CIE-LCHlch(66.07, 67.43, 311.47°)
OKLaboklab(72.58% 0.1011 -0.1414)
OKLCHoklch(72.58% 0.174 305.6)
XYZxyz(48.0845, 35.4162, 96.3794)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C186FC #C1FC86
analogous
#8686FC #C186FC #FC86FC
triadic
#C186FC #FCC186 #86FCC1
tetradic
#C186FC #FC8686 #C1FC86 #86FCFC
square
#C186FC #FC8686 #C1FC86 #86FCFC
split-complementary
#C186FC #FCFC86 #86FC86
monochromatic
#840FF9 #A24AFB #C186FC #E0C2FD #F0E1FE

Accessibility & contrast

On white

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

On black

8.08
#C186FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C186FC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C186FC#FFFFFF#000000##000000
##C186FC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#B89AB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c186fc;
/* rgb */ color: rgb(193, 134, 252);
/* oklch */ color: oklch(72.6% 0.174 305.6);
Tailwind
colors: {
  custom: {
    50: '#d6aafe',
    500: '#c186fc',
    950: '#000000',
  },
}
SCSS
$custom: #c186fc;
$custom-light: #d6aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#c186fc",
  "rgb": {
    "r": 193,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 270,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72585,
    "c": 0.17382,
    "h": 305.6
  },
  "luminance": 0.35416
}

Semantic roles & 50–950 ramp

primary
#C186FC
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C186FC

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

Preview Lab → · Contrast checker → · Palette generator →

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