#B188FB#B188FB

#B188FB is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.3% C 0.166 H 298.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B188FB
RGBrgb(177, 136, 251)
HSLhsl(261, 93%, 76%)
HSVhsv(261, 46%, 98%)
CMYKcmyk(29.5%, 45.8%, 0%, 1.6%)
CIE-LABlab(64.90, 39.09, -51.94)
CIE-LCHlch(64.90, 65.00, 306.97°)
OKLaboklab(71.33% 0.0794 -0.1459)
OKLCHoklch(71.33% 0.166 298.6)
XYZxyz(44.3441, 33.9201, 95.4591)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B188FB #D2FB88
analogous
#8898FB #B188FB #EA88FB
triadic
#B188FB #FBB188 #88FBB1
tetradic
#B188FB #FB8898 #D2FB88 #88FBEA
square
#B188FB #FB8898 #D2FB88 #88FBEA
split-complementary
#B188FB #FBEA88 #98FB88
monochromatic
#6312F7 #8A4DF9 #B188FB #D8C3FD #ECE1FE

Accessibility & contrast

On white

2.70
#B188FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B188FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B188FB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B188FB#FFFFFF#000000##000000
##B188FB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#A29DB6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b188fb;
/* rgb */ color: rgb(177, 136, 251);
/* oklch */ color: oklch(71.3% 0.166 298.6);
Tailwind
colors: {
  custom: {
    50: '#cbabfd',
    500: '#b188fb',
    950: '#000000',
  },
}
SCSS
$custom: #b188fb;
$custom-light: #cbabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b188fb",
  "rgb": {
    "r": 177,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 261.391,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7133,
    "c": 0.16607,
    "h": 298.6
  },
  "luminance": 0.3392
}

Semantic roles & 50–950 ramp

primary
#B188FB
secondary
#EAF6D5
accent
#E60094
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B188FB

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

Preview Lab → · Contrast checker → · Palette generator →

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