#B186CD#B186CD

#B186CD is a light, moderate violet. Relative luminance 0.308; OKLCH L 68.7% C 0.112 H 311.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B186CD
RGBrgb(177, 134, 205)
HSLhsl(276, 42%, 66%)
HSVhsv(276, 35%, 80%)
CMYKcmyk(13.7%, 34.6%, 0%, 19.6%)
CIE-LABlab(62.34, 29.60, -30.43)
CIE-LCHlch(62.34, 42.46, 314.20°)
OKLaboklab(68.71% 0.0737 -0.0837)
OKLCHoklch(68.71% 0.112 311.4)
XYZxyz(37.6741, 30.8056, 61.7072)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B186CD #A2CD86
analogous
#8E86CD #B186CD #CD86C6
triadic
#B186CD #CDB186 #86CDB1
tetradic
#B186CD #CD8E86 #A2CD86 #86C6CD
square
#B186CD #CD8E86 #A2CD86 #86C6CD
split-complementary
#B186CD #C6CD86 #86CD8E
monochromatic
#763F99 #955BBB #B186CD #CDB1DF #E9DDF1

Accessibility & contrast

On white

2.93
#B186CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#B186CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B186CD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B186CD#FFFFFF#000000##000000
##B186CD1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D0
Deuteranopia (green-blind)
#8398CB
Tritanopia (blue-blind)
#AE90A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b186cd;
/* rgb */ color: rgb(177, 134, 205);
/* oklch */ color: oklch(68.7% 0.112 311.4);
Tailwind
colors: {
  custom: {
    50: '#c9a9dc',
    500: '#b186cd',
    950: '#000000',
  },
}
SCSS
$custom: #b186cd;
$custom-light: #c9a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b186cd",
  "rgb": {
    "r": 177,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 276.338,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68714,
    "c": 0.11157,
    "h": 311.4
  },
  "luminance": 0.30805
}

Semantic roles & 50–950 ramp

primary
#B186CD
secondary
#D5E3CC
accent
#B53165
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B186CD

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

Preview Lab → · Contrast checker → · Palette generator →

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