#B189FC#B189FC

#B189FC is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.6% C 0.166 H 298.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B189FC
RGBrgb(177, 137, 252)
HSLhsl(261, 95%, 76%)
HSVhsv(261, 46%, 99%)
CMYKcmyk(29.8%, 45.6%, 0%, 1.2%)
CIE-LABlab(65.17, 38.78, -52.05)
CIE-LCHlch(65.17, 64.91, 306.69°)
OKLaboklab(71.55% 0.0782 -0.1462)
OKLCHoklch(71.55% 0.166 298.1)
XYZxyz(44.6436, 34.2663, 96.3386)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B189FC #D4FC89
analogous
#899BFC #B189FC #EB89FC
triadic
#B189FC #FCB189 #89FCB1
tetradic
#B189FC #FC899B #D4FC89 #89FCEB
square
#B189FC #FC899B #D4FC89 #89FCEB
split-complementary
#B189FC #FCEB89 #9BFC89
monochromatic
#6212F9 #8A4DFA #B189FC #D8C5FE #EBE1FE

Accessibility & contrast

On white

2.67
#B189FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#B189FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B189FC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B189FC#FFFFFF#000000##000000
##B189FC1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#A19EB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b189fc;
/* rgb */ color: rgb(177, 137, 252);
/* oklch */ color: oklch(71.6% 0.166 298.1);
Tailwind
colors: {
  custom: {
    50: '#cbacfe',
    500: '#b189fc',
    950: '#000000',
  },
}
SCSS
$custom: #b189fc;
$custom-light: #cbacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b189fc",
  "rgb": {
    "r": 177,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 260.87,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71553,
    "c": 0.1658,
    "h": 298.1
  },
  "luminance": 0.34267
}

Semantic roles & 50–950 ramp

primary
#B189FC
secondary
#EBF6D5
accent
#E60096
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B189FC

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

Preview Lab → · Contrast checker → · Palette generator →

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