#B187CD#B187CD

#B187CD is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.9% C 0.110 H 311.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#B187CD
RGBrgb(177, 135, 205)
HSLhsl(276, 41%, 67%)
HSVhsv(276, 34%, 80%)
CMYKcmyk(13.7%, 34.1%, 0%, 19.6%)
CIE-LABlab(62.58, 29.04, -30.07)
CIE-LCHlch(62.58, 41.80, 314.00°)
OKLaboklab(68.89% 0.0723 -0.0827)
OKLCHoklch(68.89% 0.11 311.1)
XYZxyz(37.8130, 31.0834, 61.7535)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B187CD #A3CD87
analogous
#8E87CD #B187CD #CD87C6
triadic
#B187CD #CDB187 #87CDB1
tetradic
#B187CD #CD8E87 #A3CD87 #87C6CD
square
#B187CD #CD8E87 #A3CD87 #87C6CD
split-complementary
#B187CD #C6CD87 #87CD8E
monochromatic
#76409A #955CBB #B187CD #CDB2DF #E9DDF1

Accessibility & contrast

On white

2.91
#B187CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#B187CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B187CD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B187CD#FFFFFF#000000##000000
##B187CD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95D0
Deuteranopia (green-blind)
#8498CB
Tritanopia (blue-blind)
#AE91A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b187cd;
/* rgb */ color: rgb(177, 135, 205);
/* oklch */ color: oklch(68.9% 0.110 311.1);
Tailwind
colors: {
  custom: {
    50: '#c9aadc',
    500: '#b187cd',
    950: '#000000',
  },
}
SCSS
$custom: #b187cd;
$custom-light: #c9aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#b187cd",
  "rgb": {
    "r": 177,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 276,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68893,
    "c": 0.10982,
    "h": 311.1
  },
  "luminance": 0.31083
}

Semantic roles & 50–950 ramp

primary
#B187CD
secondary
#D6E3CD
accent
#B43166
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B187CD

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

Preview Lab → · Contrast checker → · Palette generator →

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