#B189F6#B189F6

#B189F6 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.2% C 0.158 H 299.3°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B189F6
RGBrgb(177, 137, 246)
HSLhsl(262, 86%, 75%)
HSVhsv(262, 44%, 96%)
CMYKcmyk(28%, 44.3%, 0%, 3.5%)
CIE-LABlab(64.88, 37.32, -49.23)
CIE-LCHlch(64.88, 61.78, 307.17°)
OKLaboklab(71.23% 0.0774 -0.138)
OKLCHoklch(71.23% 0.158 299.3)
XYZxyz(43.7078, 33.8920, 91.4100)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B189F6 #CEF689
analogous
#8998F6 #B189F6 #E789F6
triadic
#B189F6 #F6B189 #89F6B1
tetradic
#B189F6 #F68998 #CEF689 #89F6E7
square
#B189F6 #F68998 #CEF689 #89F6E7
split-complementary
#B189F6 #F6E789 #98F689
monochromatic
#6617ED #8B50F2 #B189F6 #D7C2FA #ECE3FD

Accessibility & contrast

On white

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

On black

7.78
#B189F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B189F6
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B189F6#FFFFFF#000000##000000
##B189F61.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#A39CB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b189f6;
/* rgb */ color: rgb(177, 137, 246);
/* oklch */ color: oklch(71.2% 0.158 299.3);
Tailwind
colors: {
  custom: {
    50: '#cbacf9',
    500: '#b189f6',
    950: '#000000',
  },
}
SCSS
$custom: #b189f6;
$custom-light: #cbacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b189f6",
  "rgb": {
    "r": 177,
    "g": 137,
    "b": 246
  },
  "hsl": {
    "h": 262.018,
    "s": 85.827,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71233,
    "c": 0.15821,
    "h": 299.3
  },
  "luminance": 0.33892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B189F6

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

Preview Lab → · Contrast checker → · Palette generator →

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