#B189F7#B189F7

#B189F7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.159 H 299.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B189F7
RGBrgb(177, 137, 247)
HSLhsl(262, 87%, 75%)
HSVhsv(262, 45%, 97%)
CMYKcmyk(28.3%, 44.5%, 0%, 3.1%)
CIE-LABlab(64.93, 37.57, -49.70)
CIE-LCHlch(64.93, 62.30, 307.08°)
OKLaboklab(71.29% 0.0775 -0.1393)
OKLCHoklch(71.29% 0.159 299.1)
XYZxyz(43.8617, 33.9535, 92.2205)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B189F7 #CFF789
analogous
#8998F7 #B189F7 #E889F7
triadic
#B189F7 #F7B189 #89F7B1
tetradic
#B189F7 #F78998 #CFF789 #89F7E8
square
#B189F7 #F78998 #CFF789 #89F7E8
split-complementary
#B189F7 #F7E889 #98F789
monochromatic
#6516EF #8B50F3 #B189F7 #D7C2FB #ECE2FD

Accessibility & contrast

On white

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

On black

7.79
#B189F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B189F7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B189F7#FFFFFF#000000##000000
##B189F71.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#A39DB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b189f7;
/* rgb */ color: rgb(177, 137, 247);
/* oklch */ color: oklch(71.3% 0.159 299.1);
Tailwind
colors: {
  custom: {
    50: '#cbacfa',
    500: '#b189f7',
    950: '#000000',
  },
}
SCSS
$custom: #b189f7;
$custom-light: #cbacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b189f7",
  "rgb": {
    "r": 177,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 261.818,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71286,
    "c": 0.15947,
    "h": 299.1
  },
  "luminance": 0.33954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B189F7

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

Preview Lab → · Contrast checker → · Palette generator →

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