#B189EC#B189EC

#B189EC is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.7% C 0.145 H 301.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#B189EC
RGBrgb(177, 137, 236)
HSLhsl(264, 72%, 73%)
HSVhsv(264, 42%, 93%)
CMYKcmyk(25%, 41.9%, 0%, 7.5%)
CIE-LABlab(64.40, 34.94, -44.48)
CIE-LCHlch(64.40, 56.56, 308.15°)
OKLaboklab(70.72% 0.0758 -0.1242)
OKLCHoklch(70.72% 0.145 301.4)
XYZxyz(42.2141, 33.2945, 83.5431)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B189EC #C4EC89
analogous
#8992EC #B189EC #E289EC
triadic
#B189EC #ECB189 #89ECB1
tetradic
#B189EC #EC8992 #C4EC89 #89ECE2
square
#B189EC #EC8992 #C4EC89 #89ECE2
split-complementary
#B189EC #ECE289 #92EC89
monochromatic
#6C23D8 #8E54E4 #B189EC #D4BEF4 #EEE5FB

Accessibility & contrast

On white

2.74
#B189EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#B189EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B189EC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B189EC#FFFFFF#000000##000000
##B189EC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#779CE9
Tritanopia (blue-blind)
#A69AAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b189ec;
/* rgb */ color: rgb(177, 137, 236);
/* oklch */ color: oklch(70.7% 0.145 301.4);
Tailwind
colors: {
  custom: {
    50: '#caacf2',
    500: '#b189ec',
    950: '#000000',
  },
}
SCSS
$custom: #b189ec;
$custom-light: #caacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b189ec",
  "rgb": {
    "r": 177,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 264.242,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70717,
    "c": 0.14549,
    "h": 301.4
  },
  "luminance": 0.33295
}

Semantic roles & 50–950 ramp

primary
#B189EC
secondary
#E8F2D9
accent
#D41185
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B189EC

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

Preview Lab → · Contrast checker → · Palette generator →

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