#B188F6#B188F6

#B188F6 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.1% C 0.160 H 299.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#B188F6
RGBrgb(177, 136, 246)
HSLhsl(262, 86%, 75%)
HSVhsv(262, 45%, 96%)
CMYKcmyk(28%, 44.7%, 0%, 3.5%)
CIE-LABlab(64.65, 37.88, -49.59)
CIE-LCHlch(64.65, 62.40, 307.38°)
OKLaboklab(71.06% 0.0787 -0.139)
OKLCHoklch(71.06% 0.16 299.5)
XYZxyz(43.5663, 33.6090, 91.3629)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B188F6 #CDF688
analogous
#8896F6 #B188F6 #E888F6
triadic
#B188F6 #F6B188 #88F6B1
tetradic
#B188F6 #F68896 #CDF688 #88F6E8
square
#B188F6 #F68896 #CDF688 #88F6E8
split-complementary
#B188F6 #F6E888 #96F688
monochromatic
#6616ED #8C4FF2 #B188F6 #D6C1FA #ECE3FD

Accessibility & contrast

On white

2.72
#B188F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#B188F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B188F6
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B188F6#FFFFFF#000000##000000
##B188F61.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#709CF3
Tritanopia (blue-blind)
#A39CB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b188f6;
/* rgb */ color: rgb(177, 136, 246);
/* oklch */ color: oklch(71.1% 0.160 299.5);
Tailwind
colors: {
  custom: {
    50: '#cbabf9',
    500: '#b188f6',
    950: '#000000',
  },
}
SCSS
$custom: #b188f6;
$custom-light: #cbabf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b188f6",
  "rgb": {
    "r": 177,
    "g": 136,
    "b": 246
  },
  "hsl": {
    "h": 262.364,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71063,
    "c": 0.15976,
    "h": 299.5
  },
  "luminance": 0.33609
}

Semantic roles & 50–950 ramp

primary
#B188F6
secondary
#E9F5D6
accent
#E2038F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B188F6

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

Preview Lab → · Contrast checker → · Palette generator →

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