#B186DF#B186DF

#B186DF is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.6% C 0.134 H 305.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B186DF
RGBrgb(177, 134, 223)
HSLhsl(269, 58%, 70%)
HSVhsv(269, 40%, 87%)
CMYKcmyk(20.6%, 39.9%, 0%, 12.5%)
CIE-LABlab(63.12, 33.60, -39.29)
CIE-LCHlch(63.12, 51.70, 310.53°)
OKLaboklab(69.55% 0.0777 -0.1091)
OKLCHoklch(69.55% 0.134 305.4)
XYZxyz(39.9731, 31.7252, 73.8155)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B186DF #B4DF86
analogous
#8687DF #B186DF #DE86DF
triadic
#B186DF #DFB186 #86DFB1
tetradic
#B186DF #DF8687 #B4DF86 #86DFDE
square
#B186DF #DF8687 #B4DF86 #86DFDE
split-complementary
#B186DF #DFDE86 #87DF86
monochromatic
#7331BA #9256D2 #B186DF #D0B6EC #EFE7F9

Accessibility & contrast

On white

2.86
#B186DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B186DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B186DF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B186DF#FFFFFF#000000##000000
##B186DF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E2
Deuteranopia (green-blind)
#7B99DD
Tritanopia (blue-blind)
#AA94A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b186df;
/* rgb */ color: rgb(177, 134, 223);
/* oklch */ color: oklch(69.6% 0.134 305.4);
Tailwind
colors: {
  custom: {
    50: '#caaae9',
    500: '#b186df',
    950: '#000000',
  },
}
SCSS
$custom: #b186df;
$custom-light: #caaae9;
$custom-dark: #000000;
JSON
{
  "hex": "#b186df",
  "rgb": {
    "r": 177,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 268.989,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.69553,
    "c": 0.13395,
    "h": 305.4
  },
  "luminance": 0.31725
}

Semantic roles & 50–950 ramp

primary
#B186DF
secondary
#E1EDD4
accent
#C62076
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B186DF

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

Preview Lab → · Contrast checker → · Palette generator →

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