#B289FB#B289FB

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

Color values

HEX#B289FB
RGBrgb(178, 137, 251)
HSLhsl(262, 93%, 76%)
HSVhsv(262, 45%, 98%)
CMYKcmyk(29.1%, 45.4%, 0%, 1.6%)
CIE-LABlab(65.22, 38.80, -51.43)
CIE-LCHlch(65.22, 64.42, 307.03°)
OKLaboklab(71.59% 0.0793 -0.1444)
OKLCHoklch(71.59% 0.165 298.8)
XYZxyz(44.7142, 34.3210, 95.5170)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B289FB #D2FB89
analogous
#8999FB #B289FB #EB89FB
triadic
#B289FB #FBB289 #89FBB2
tetradic
#B289FB #FB8999 #D2FB89 #89FBEB
square
#B289FB #FB8999 #D2FB89 #89FBEB
split-complementary
#B289FB #FBEB89 #99FB89
monochromatic
#6513F7 #8B4EF9 #B289FB #D9C4FD #ECE1FE

Accessibility & contrast

On white

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

On black

7.86
#B289FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B289FB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B289FB#FFFFFF#000000##000000
##B289FB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#A39EB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b289fb;
/* rgb */ color: rgb(178, 137, 251);
/* oklch */ color: oklch(71.6% 0.165 298.8);
Tailwind
colors: {
  custom: {
    50: '#ccacfd',
    500: '#b289fb',
    950: '#000000',
  },
}
SCSS
$custom: #b289fb;
$custom-light: #ccacfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b289fb",
  "rgb": {
    "r": 178,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 261.579,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71591,
    "c": 0.16469,
    "h": 298.8
  },
  "luminance": 0.34321
}

Semantic roles & 50–950 ramp

primary
#B289FB
secondary
#EAF6D5
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B289FB

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

Preview Lab → · Contrast checker → · Palette generator →

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