#B186FA#B186FA

#B186FA is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.9% C 0.168 H 299.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#B186FA
RGBrgb(177, 134, 250)
HSLhsl(262, 92%, 75%)
HSVhsv(262, 46%, 98%)
CMYKcmyk(29.2%, 46.4%, 0%, 2%)
CIE-LABlab(64.40, 39.96, -52.18)
CIE-LCHlch(64.40, 65.72, 307.45°)
OKLaboklab(70.94% 0.0819 -0.1466)
OKLCHoklch(70.94% 0.168 299.2)
XYZxyz(43.9078, 33.2991, 94.5381)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B186FA #CFFA86
analogous
#8695FA #B186FA #EB86FA
triadic
#B186FA #FAB186 #86FAB1
tetradic
#B186FA #FA8695 #CFFA86 #86FAEB
square
#B186FA #FA8695 #CFFA86 #86FAEB
split-complementary
#B186FA #FAEB86 #95FA86
monochromatic
#6510F5 #8B4BF8 #B186FA #D7C1FC #ECE2FE

Accessibility & contrast

On white

2.74
#B186FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#B186FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B186FA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B186FA#FFFFFF#000000##000000
##B186FA1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#A29BB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b186fa;
/* rgb */ color: rgb(177, 134, 250);
/* oklch */ color: oklch(70.9% 0.168 299.2);
Tailwind
colors: {
  custom: {
    50: '#cbaafc',
    500: '#b186fa',
    950: '#000000',
  },
}
SCSS
$custom: #b186fa;
$custom-light: #cbaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#b186fa",
  "rgb": {
    "r": 177,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 262.241,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70942,
    "c": 0.16788,
    "h": 299.2
  },
  "luminance": 0.33299
}

Semantic roles & 50–950 ramp

primary
#B186FA
secondary
#EAF6D5
accent
#E60090
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B186FA

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

Preview Lab → · Contrast checker → · Palette generator →

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