#B188FC#B188FC

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

Color values

HEX#B188FC
RGBrgb(177, 136, 252)
HSLhsl(261, 95%, 76%)
HSVhsv(261, 46%, 99%)
CMYKcmyk(29.8%, 46%, 0%, 1.2%)
CIE-LABlab(64.95, 39.34, -52.40)
CIE-LCHlch(64.95, 65.53, 306.89°)
OKLaboklab(71.38% 0.0795 -0.1472)
OKLCHoklch(71.38% 0.167 298.4)
XYZxyz(44.5021, 33.9833, 96.2915)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B188FC #D3FC88
analogous
#8899FC #B188FC #EB88FC
triadic
#B188FC #FCB188 #88FCB1
tetradic
#B188FC #FC8899 #D3FC88 #88FCEB
square
#B188FC #FC8899 #D3FC88 #88FCEB
split-complementary
#B188FC #FCEB88 #99FC88
monochromatic
#6311F9 #8A4CFA #B188FC #D8C4FE #EBE1FE

Accessibility & contrast

On white

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

On black

7.80
#B188FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B188FC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B188FC#FFFFFF#000000##000000
##B188FC1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#A29DB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b188fc;
/* rgb */ color: rgb(177, 136, 252);
/* oklch */ color: oklch(71.4% 0.167 298.4);
Tailwind
colors: {
  custom: {
    50: '#cbabfe',
    500: '#b188fc',
    950: '#000000',
  },
}
SCSS
$custom: #b188fc;
$custom-light: #cbabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b188fc",
  "rgb": {
    "r": 177,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 261.207,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71384,
    "c": 0.16733,
    "h": 298.4
  },
  "luminance": 0.33984
}

Semantic roles & 50–950 ramp

primary
#B188FC
secondary
#EAF6D5
accent
#E60094
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B188FC

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

Preview Lab → · Contrast checker → · Palette generator →

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