#B188FD#B188FD

#B188FD is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.4% C 0.169 H 298.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B188FD
RGBrgb(177, 136, 253)
HSLhsl(261, 97%, 76%)
HSVhsv(261, 46%, 99%)
CMYKcmyk(30%, 46.2%, 0%, 0.8%)
CIE-LABlab(65.00, 39.58, -52.87)
CIE-LCHlch(65.00, 66.05, 306.82°)
OKLaboklab(71.44% 0.0796 -0.1486)
OKLCHoklch(71.44% 0.169 298.2)
XYZxyz(44.6610, 34.0469, 97.1282)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B188FD #D4FD88
analogous
#889AFD #B188FD #EC88FD
triadic
#B188FD #FDB188 #88FDB1
tetradic
#B188FD #FD889A #D4FD88 #88FDEC
square
#B188FD #FD889A #D4FD88 #88FDEC
split-complementary
#B188FD #FDEC88 #9AFD88
monochromatic
#6210FB #8A4CFC #B188FD #D8C4FE #EBE1FE

Accessibility & contrast

On white

2.69
#B188FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B188FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B188FD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B188FD#FFFFFF#000000##000000
##B188FD1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b188fd;
/* rgb */ color: rgb(177, 136, 253);
/* oklch */ color: oklch(71.4% 0.169 298.2);
Tailwind
colors: {
  custom: {
    50: '#cbabfe',
    500: '#b188fd',
    950: '#000000',
  },
}
SCSS
$custom: #b188fd;
$custom-light: #cbabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b188fd",
  "rgb": {
    "r": 177,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 261.026,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71439,
    "c": 0.16859,
    "h": 298.2
  },
  "luminance": 0.34047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B188FD

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

Preview Lab → · Contrast checker → · Palette generator →

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