#B188EA#B188EA

#B188EA is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.4% C 0.145 H 302.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B188EA
RGBrgb(177, 136, 234)
HSLhsl(265, 70%, 73%)
HSVhsv(265, 42%, 92%)
CMYKcmyk(24.4%, 41.9%, 0%, 8.2%)
CIE-LABlab(64.08, 35.03, -43.88)
CIE-LCHlch(64.08, 56.15, 308.60°)
OKLaboklab(70.44% 0.0769 -0.1224)
OKLCHoklch(70.44% 0.145 302.1)
XYZxyz(41.7837, 32.8959, 81.9742)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B188EA #C1EA88
analogous
#8890EA #B188EA #E288EA
triadic
#B188EA #EAB188 #88EAB1
tetradic
#B188EA #EA8890 #C1EA88 #88EAE2
square
#B188EA #EA8890 #C1EA88 #88EAE2
split-complementary
#B188EA #EAE288 #90EA88
monochromatic
#6E25D2 #8F54E1 #B188EA #D3BCF3 #EEE5FA

Accessibility & contrast

On white

2.77
#B188EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#B188EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B188EA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B188EA#FFFFFF#000000##000000
##B188EA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#779BE7
Tritanopia (blue-blind)
#A798AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b188ea;
/* rgb */ color: rgb(177, 136, 234);
/* oklch */ color: oklch(70.4% 0.145 302.1);
Tailwind
colors: {
  custom: {
    50: '#caabf1',
    500: '#b188ea',
    950: '#000000',
  },
}
SCSS
$custom: #b188ea;
$custom-light: #caabf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b188ea",
  "rgb": {
    "r": 177,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 265.102,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70443,
    "c": 0.14456,
    "h": 302.1
  },
  "luminance": 0.32896
}

Semantic roles & 50–950 ramp

primary
#B188EA
secondary
#E8F2D9
accent
#D21482
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B188EA

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

Preview Lab → · Contrast checker → · Palette generator →

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