#B188FA#B188FA

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

Color values

HEX#B188FA
RGBrgb(177, 136, 250)
HSLhsl(262, 92%, 76%)
HSVhsv(262, 46%, 98%)
CMYKcmyk(29.2%, 45.6%, 0%, 2%)
CIE-LABlab(64.85, 38.85, -51.47)
CIE-LCHlch(64.85, 64.48, 307.05°)
OKLaboklab(71.28% 0.0793 -0.1445)
OKLCHoklch(71.28% 0.165 298.7)
XYZxyz(44.1869, 33.8572, 94.6311)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B188FA #D1FA88
analogous
#8898FA #B188FA #EA88FA
triadic
#B188FA #FAB188 #88FAB1
tetradic
#B188FA #FA8898 #D1FA88 #88FAEA
square
#B188FA #FA8898 #D1FA88 #88FAEA
split-complementary
#B188FA #FAEA88 #98FA88
monochromatic
#6413F5 #8B4DF8 #B188FA #D7C3FC #ECE2FE

Accessibility & contrast

On white

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

On black

7.77
#B188FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B188FA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B188FA#FFFFFF#000000##000000
##B188FA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#6E9CF7
Tritanopia (blue-blind)
#A29DB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b188fa;
/* rgb */ color: rgb(177, 136, 250);
/* oklch */ color: oklch(71.3% 0.165 298.7);
Tailwind
colors: {
  custom: {
    50: '#cbabfc',
    500: '#b188fa',
    950: '#000000',
  },
}
SCSS
$custom: #b188fa;
$custom-light: #cbabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b188fa",
  "rgb": {
    "r": 177,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 261.579,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71277,
    "c": 0.16481,
    "h": 298.7
  },
  "luminance": 0.33858
}

Semantic roles & 50–950 ramp

primary
#B188FA
secondary
#EAF6D5
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B188FA

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

Preview Lab → · Contrast checker → · Palette generator →

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