#B388EF#B388EF

#B388EF is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.9% C 0.151 H 301.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#B388EF
RGBrgb(179, 136, 239)
HSLhsl(265, 76%, 74%)
HSVhsv(265, 43%, 94%)
CMYKcmyk(25.1%, 43.1%, 0%, 6.3%)
CIE-LABlab(64.50, 36.76, -45.96)
CIE-LCHlch(64.50, 58.85, 308.65°)
OKLaboklab(70.89% 0.0801 -0.1284)
OKLCHoklch(70.89% 0.151 301.9)
XYZxyz(42.9711, 33.4240, 85.8323)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388EF #C4EF88
analogous
#8890EF #B388EF #E788EF
triadic
#B388EF #EFB388 #88EFB3
tetradic
#B388EF #EF8890 #C4EF88 #88EFE7
square
#B388EF #EF8890 #C4EF88 #88EFE7
split-complementary
#B388EF #EFE788 #90EF88
monochromatic
#6E1EDF #9152E8 #B388EF #D5BEF6 #EEE4FB

Accessibility & contrast

On white

2.73
#B388EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#B388EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388EF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388EF#FFFFFF#000000##000000
##B388EF1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#A89AB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b388ef;
/* rgb */ color: rgb(179, 136, 239);
/* oklch */ color: oklch(70.9% 0.151 301.9);
Tailwind
colors: {
  custom: {
    50: '#ccabf4',
    500: '#b388ef',
    950: '#000000',
  },
}
SCSS
$custom: #b388ef;
$custom-light: #ccabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b388ef",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 265.049,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70886,
    "c": 0.15132,
    "h": 301.9
  },
  "luminance": 0.33424
}

Semantic roles & 50–950 ramp

primary
#B388EF
secondary
#E8F3D8
accent
#D80D84
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B388EF

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

Preview Lab → · Contrast checker → · Palette generator →

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