#B188F8#B188F8

#B188F8 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.2% C 0.162 H 299.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B188F8
RGBrgb(177, 136, 248)
HSLhsl(262, 89%, 75%)
HSVhsv(262, 45%, 97%)
CMYKcmyk(28.6%, 45.2%, 0%, 2.7%)
CIE-LABlab(64.75, 38.36, -50.53)
CIE-LCHlch(64.75, 63.44, 307.21°)
OKLaboklab(71.17% 0.079 -0.1418)
OKLCHoklch(71.17% 0.162 299.1)
XYZxyz(43.8749, 33.7324, 92.9882)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B188F8 #CFF888
analogous
#8897F8 #B188F8 #E988F8
triadic
#B188F8 #F8B188 #88F8B1
tetradic
#B188F8 #F88897 #CFF888 #88F8E9
square
#B188F8 #F88897 #CFF888 #88F8E9
split-complementary
#B188F8 #F8E988 #97F888
monochromatic
#6514F1 #8B4EF5 #B188F8 #D7C2FB #ECE2FD

Accessibility & contrast

On white

2.71
#B188F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B188F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B188F8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B188F8#FFFFFF#000000##000000
##B188F81.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#A39CB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b188f8;
/* rgb */ color: rgb(177, 136, 248);
/* oklch */ color: oklch(71.2% 0.162 299.1);
Tailwind
colors: {
  custom: {
    50: '#cbabfb',
    500: '#b188f8',
    950: '#000000',
  },
}
SCSS
$custom: #b188f8;
$custom-light: #cbabfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b188f8",
  "rgb": {
    "r": 177,
    "g": 136,
    "b": 248
  },
  "hsl": {
    "h": 261.964,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7117,
    "c": 0.16229,
    "h": 299.1
  },
  "luminance": 0.33733
}

Semantic roles & 50–950 ramp

primary
#B188F8
secondary
#EAF5D6
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B188F8

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

Preview Lab → · Contrast checker → · Palette generator →

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