#B188F7#B188F7

#B188F7 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.1% C 0.161 H 299.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#B188F7
RGBrgb(177, 136, 247)
HSLhsl(262, 87%, 75%)
HSVhsv(262, 45%, 97%)
CMYKcmyk(28.3%, 44.9%, 0%, 3.1%)
CIE-LABlab(64.70, 38.12, -50.06)
CIE-LCHlch(64.70, 62.92, 307.29°)
OKLaboklab(71.12% 0.0789 -0.1404)
OKLCHoklch(71.12% 0.161 299.3)
XYZxyz(43.7202, 33.6705, 92.1734)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B188F7 #CEF788
analogous
#8896F7 #B188F7 #E888F7
triadic
#B188F7 #F7B188 #88F7B1
tetradic
#B188F7 #F78896 #CEF788 #88F7E8
square
#B188F7 #F78896 #CEF788 #88F7E8
split-complementary
#B188F7 #F7E888 #96F788
monochromatic
#6615EF #8B4FF3 #B188F7 #D7C1FB #ECE2FD

Accessibility & contrast

On white

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

On black

7.73
#B188F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B188F7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B188F7#FFFFFF#000000##000000
##B188F71.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#A39CB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b188f7;
/* rgb */ color: rgb(177, 136, 247);
/* oklch */ color: oklch(71.1% 0.161 299.3);
Tailwind
colors: {
  custom: {
    50: '#cbabfa',
    500: '#b188f7',
    950: '#000000',
  },
}
SCSS
$custom: #b188f7;
$custom-light: #cbabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b188f7",
  "rgb": {
    "r": 177,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 262.162,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71116,
    "c": 0.16102,
    "h": 299.3
  },
  "luminance": 0.33671
}

Semantic roles & 50–950 ramp

primary
#B188F7
secondary
#EAF5D6
accent
#E40290
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B188F7

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

Preview Lab → · Contrast checker → · Palette generator →

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