#B188FE#B188FE

#B188FE is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.5% C 0.170 H 298.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B188FE
RGBrgb(177, 136, 254)
HSLhsl(261, 98%, 76%)
HSVhsv(261, 46%, 100%)
CMYKcmyk(30.3%, 46.5%, 0%, 0.4%)
CIE-LABlab(65.05, 39.82, -53.34)
CIE-LCHlch(65.05, 66.57, 306.75°)
OKLaboklab(71.49% 0.0798 -0.15)
OKLCHoklch(71.49% 0.17 298)
XYZxyz(44.8207, 34.1107, 97.9694)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B188FE #D5FE88
analogous
#889AFE #B188FE #EC88FE
triadic
#B188FE #FEB188 #88FEB1
tetradic
#B188FE #FE889A #D5FE88 #88FEEC
square
#B188FE #FE889A #D5FE88 #88FEEC
split-complementary
#B188FE #FEEC88 #9AFE88
monochromatic
#610FFD #894BFD #B188FE #D9C5FF #EBE1FF

Accessibility & contrast

On white

2.68
#B188FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B188FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B188FE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B188FE#FFFFFF#000000##000000
##B188FE1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#6B9DFB
Tritanopia (blue-blind)
#A19EB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b188fe;
/* rgb */ color: rgb(177, 136, 254);
/* oklch */ color: oklch(71.5% 0.170 298.0);
Tailwind
colors: {
  custom: {
    50: '#cbabff',
    500: '#b188fe',
    950: '#000000',
  },
}
SCSS
$custom: #b188fe;
$custom-light: #cbabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b188fe",
  "rgb": {
    "r": 177,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 260.847,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71493,
    "c": 0.16985,
    "h": 298
  },
  "luminance": 0.34111
}

Semantic roles & 50–950 ramp

primary
#B188FE
secondary
#EBF7D4
accent
#E60096
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B188FE

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

Preview Lab → · Contrast checker → · Palette generator →

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