#B289FA#B289FA

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

Color values

HEX#B289FA
RGBrgb(178, 137, 250)
HSLhsl(262, 92%, 76%)
HSVhsv(262, 45%, 98%)
CMYKcmyk(28.8%, 45.2%, 0%, 2%)
CIE-LABlab(65.17, 38.56, -50.96)
CIE-LCHlch(65.17, 63.90, 307.11°)
OKLaboklab(71.54% 0.0791 -0.143)
OKLCHoklch(71.54% 0.163 299)
XYZxyz(44.5570, 34.2581, 94.6890)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B289FA #D1FA89
analogous
#8998FA #B289FA #EA89FA
triadic
#B289FA #FAB289 #89FAB2
tetradic
#B289FA #FA8998 #D1FA89 #89FAEA
square
#B289FA #FA8998 #D1FA89 #89FAEA
split-complementary
#B289FA #FAEA89 #98FA89
monochromatic
#6514F5 #8C4EF8 #B289FA #D8C4FC #ECE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B289FA#FFFFFF#000000##000000
##B289FA1.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)
#679EFE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#A49DB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b289fa;
/* rgb */ color: rgb(178, 137, 250);
/* oklch */ color: oklch(71.5% 0.163 299.0);
Tailwind
colors: {
  custom: {
    50: '#cbacfc',
    500: '#b289fa',
    950: '#000000',
  },
}
SCSS
$custom: #b289fa;
$custom-light: #cbacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b289fa",
  "rgb": {
    "r": 178,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 261.77,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71537,
    "c": 0.16342,
    "h": 299
  },
  "luminance": 0.34258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B289FA

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

Preview Lab → · Contrast checker → · Palette generator →

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