#B188F3#B188F3

#B188F3 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.9% C 0.156 H 300.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#B188F3
RGBrgb(177, 136, 243)
HSLhsl(263, 82%, 74%)
HSVhsv(263, 44%, 95%)
CMYKcmyk(27.2%, 44%, 0%, 4.7%)
CIE-LABlab(64.50, 37.16, -48.17)
CIE-LCHlch(64.50, 60.84, 307.65°)
OKLaboklab(70.91% 0.0783 -0.1349)
OKLCHoklch(70.91% 0.156 300.1)
XYZxyz(43.1096, 33.4263, 88.9574)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B188F3 #CAF388
analogous
#8895F3 #B188F3 #E788F3
triadic
#B188F3 #F3B188 #88F3B1
tetradic
#B188F3 #F38895 #CAF388 #88F3E7
square
#B188F3 #F38895 #CAF388 #88F3E7
split-complementary
#B188F3 #F3E788 #95F388
monochromatic
#6819E8 #8D50ED #B188F3 #D5C0F9 #EDE3FC

Accessibility & contrast

On white

2.73
#B188F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#B188F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B188F3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B188F3#FFFFFF#000000##000000
##B188F31.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF7
Deuteranopia (green-blind)
#729CF0
Tritanopia (blue-blind)
#A49BB2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b188f3;
/* rgb */ color: rgb(177, 136, 243);
/* oklch */ color: oklch(70.9% 0.156 300.1);
Tailwind
colors: {
  custom: {
    50: '#caabf7',
    500: '#b188f3',
    950: '#000000',
  },
}
SCSS
$custom: #b188f3;
$custom-light: #caabf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b188f3",
  "rgb": {
    "r": 177,
    "g": 136,
    "b": 243
  },
  "hsl": {
    "h": 262.991,
    "s": 81.679,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.15597,
    "h": 300.1
  },
  "luminance": 0.33426
}

Semantic roles & 50–950 ramp

primary
#B188F3
secondary
#E9F4D7
accent
#DE078C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B188F3

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

Preview Lab → · Contrast checker → · Palette generator →

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