#B189F9#B189F9

#B189F9 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.4% C 0.162 H 298.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B189F9
RGBrgb(177, 137, 249)
HSLhsl(261, 90%, 76%)
HSVhsv(261, 45%, 98%)
CMYKcmyk(28.9%, 45%, 0%, 2.4%)
CIE-LABlab(65.02, 38.05, -50.64)
CIE-LCHlch(65.02, 63.34, 306.92°)
OKLaboklab(71.39% 0.0778 -0.1421)
OKLCHoklch(71.39% 0.162 298.7)
XYZxyz(44.1720, 34.0776, 93.8546)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B189F9 #D1F989
analogous
#8999F9 #B189F9 #E989F9
triadic
#B189F9 #F9B189 #89F9B1
tetradic
#B189F9 #F98999 #D1F989 #89F9E9
square
#B189F9 #F98999 #D1F989 #89F9E9
split-complementary
#B189F9 #F9E989 #99F989
monochromatic
#6415F3 #8B4FF6 #B189F9 #D7C3FC #ECE2FE

Accessibility & contrast

On white

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

On black

7.82
#B189F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B189F9
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B189F9#FFFFFF#000000##000000
##B189F91.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#A29DB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b189f9;
/* rgb */ color: rgb(177, 137, 249);
/* oklch */ color: oklch(71.4% 0.162 298.7);
Tailwind
colors: {
  custom: {
    50: '#cbacfc',
    500: '#b189f9',
    950: '#000000',
  },
}
SCSS
$custom: #b189f9;
$custom-light: #cbacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b189f9",
  "rgb": {
    "r": 177,
    "g": 137,
    "b": 249
  },
  "hsl": {
    "h": 261.429,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71392,
    "c": 0.162,
    "h": 298.7
  },
  "luminance": 0.34078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B189F9

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

Preview Lab → · Contrast checker → · Palette generator →

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