#B389E2#B389E2

#B389E2 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.133 H 304.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#B389E2
RGBrgb(179, 137, 226)
HSLhsl(268, 61%, 71%)
HSVhsv(268, 39%, 89%)
CMYKcmyk(20.8%, 39.4%, 0%, 11.4%)
CIE-LABlab(64.13, 33.19, -39.35)
CIE-LCHlch(64.13, 51.47, 310.15°)
OKLaboklab(70.41% 0.0764 -0.1093)
OKLCHoklch(70.41% 0.133 304.9)
XYZxyz(41.2607, 32.9662, 76.1262)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B389E2 #B8E289
analogous
#898BE2 #B389E2 #DF89E2
triadic
#B389E2 #E2B389 #89E2B3
tetradic
#B389E2 #E2898B #B8E289 #89E2DF
square
#B389E2 #E2898B #B8E289 #89E2DF
split-complementary
#B389E2 #E2DF89 #8BE289
monochromatic
#742FC1 #9358D6 #B389E2 #D3BAEE #EFE6F9

Accessibility & contrast

On white

2.77
#B389E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#B389E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B389E2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B389E2#FFFFFF#000000##000000
##B389E21.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE5
Deuteranopia (green-blind)
#7E9CE0
Tritanopia (blue-blind)
#AC97AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b389e2;
/* rgb */ color: rgb(179, 137, 226);
/* oklch */ color: oklch(70.4% 0.133 304.9);
Tailwind
colors: {
  custom: {
    50: '#cbaceb',
    500: '#b389e2',
    950: '#000000',
  },
}
SCSS
$custom: #b389e2;
$custom-light: #cbaceb;
$custom-dark: #000000;
JSON
{
  "hex": "#b389e2",
  "rgb": {
    "r": 179,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 268.315,
    "s": 60.544,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70412,
    "c": 0.13332,
    "h": 304.9
  },
  "luminance": 0.32966
}

Semantic roles & 50–950 ramp

primary
#B389E2
secondary
#E4EFD8
accent
#C81D78
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B389E2

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

Preview Lab → · Contrast checker → · Palette generator →

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