#B389FA#B389FA

#B389FA is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.6% C 0.164 H 299.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#B389FA
RGBrgb(179, 137, 250)
HSLhsl(262, 92%, 76%)
HSVhsv(262, 45%, 98%)
CMYKcmyk(28.4%, 45.2%, 0%, 2%)
CIE-LABlab(65.26, 38.82, -50.80)
CIE-LCHlch(65.26, 63.94, 307.38°)
OKLaboklab(71.63% 0.0803 -0.1425)
OKLCHoklch(71.63% 0.164 299.4)
XYZxyz(44.7874, 34.3769, 94.6998)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B389FA #D0FA89
analogous
#8997FA #B389FA #EB89FA
triadic
#B389FA #FAB389 #89FAB3
tetradic
#B389FA #FA8997 #D0FA89 #89FAEB
square
#B389FA #FA8997 #D0FA89 #89FAEB
split-complementary
#B389FA #FAEB89 #97FA89
monochromatic
#6714F5 #8D4EF8 #B389FA #D9C4FC #ECE2FE

Accessibility & contrast

On white

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

On black

7.88
#B389FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B389FA
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B389FA#FFFFFF#000000##000000
##B389FA1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#709EF7
Tritanopia (blue-blind)
#A59DB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b389fa;
/* rgb */ color: rgb(179, 137, 250);
/* oklch */ color: oklch(71.6% 0.164 299.4);
Tailwind
colors: {
  custom: {
    50: '#ccacfc',
    500: '#b389fa',
    950: '#000000',
  },
}
SCSS
$custom: #b389fa;
$custom-light: #ccacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b389fa",
  "rgb": {
    "r": 179,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 262.301,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71629,
    "c": 0.16359,
    "h": 299.4
  },
  "luminance": 0.34377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B389FA

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

Preview Lab → · Contrast checker → · Palette generator →

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