#C186EB#C186EB

#C186EB is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.7% C 0.154 H 309.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#C186EB
RGBrgb(193, 134, 235)
HSLhsl(275, 72%, 72%)
HSVhsv(275, 43%, 92%)
CMYKcmyk(17.9%, 43%, 0%, 7.8%)
CIE-LABlab(65.27, 40.87, -42.45)
CIE-LCHlch(65.27, 58.93, 313.91°)
OKLaboklab(71.72% 0.0987 -0.1179)
OKLCHoklch(71.72% 0.154 309.9)
XYZxyz(45.5101, 34.3865, 82.8209)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C186EB #B0EB86
analogous
#8F86EB #C186EB #EB86E2
triadic
#C186EB #EBC186 #86EBC1
tetradic
#C186EB #EB8F86 #B0EB86 #86E2EB
square
#C186EB #EB8F86 #B0EB86 #86E2EB
split-complementary
#C186EB #E2EB86 #86EB8F
monochromatic
#8A23D4 #A651E2 #C186EB #DCBBF4 #F2E5FB

Accessibility & contrast

On white

2.67
#C186EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#C186EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C186EB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C186EB#FFFFFF#000000##000000
##C186EB1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#7F9FE8
Tritanopia (blue-blind)
#BC95AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c186eb;
/* rgb */ color: rgb(193, 134, 235);
/* oklch */ color: oklch(71.7% 0.154 309.9);
Tailwind
colors: {
  custom: {
    50: '#d5aaf2',
    500: '#c186eb',
    950: '#000000',
  },
}
SCSS
$custom: #c186eb;
$custom-light: #d5aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c186eb",
  "rgb": {
    "r": 193,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 275.05,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71722,
    "c": 0.15378,
    "h": 309.9
  },
  "luminance": 0.34386
}

Semantic roles & 50–950 ramp

primary
#C186EB
secondary
#E3F2D9
accent
#D41262
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C186EB

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

Preview Lab → · Contrast checker → · Palette generator →

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