#B388EC#B388EC

#B388EC is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.7% C 0.148 H 302.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B388EC
RGBrgb(179, 136, 236)
HSLhsl(266, 72%, 73%)
HSVhsv(266, 42%, 93%)
CMYKcmyk(24.2%, 42.4%, 0%, 7.5%)
CIE-LABlab(64.36, 36.05, -44.52)
CIE-LCHlch(64.36, 57.29, 309.00°)
OKLaboklab(70.73% 0.0796 -0.1243)
OKLCHoklch(70.73% 0.148 302.6)
XYZxyz(42.5316, 33.2482, 83.5175)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388EC #C1EC88
analogous
#888FEC #B388EC #E588EC
triadic
#B388EC #ECB388 #88ECB3
tetradic
#B388EC #EC888F #C1EC88 #88ECE5
square
#B388EC #EC888F #C1EC88 #88ECE5
split-complementary
#B388EC #ECE588 #8FEC88
monochromatic
#7022D7 #9153E4 #B388EC #D5BDF4 #EEE5FB

Accessibility & contrast

On white

2.75
#B388EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B388EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388EC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388EC#FFFFFF#000000##000000
##B388EC1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#A999AF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b388ec;
/* rgb */ color: rgb(179, 136, 236);
/* oklch */ color: oklch(70.7% 0.148 302.6);
Tailwind
colors: {
  custom: {
    50: '#cbabf2',
    500: '#b388ec',
    950: '#000000',
  },
}
SCSS
$custom: #b388ec;
$custom-light: #cbabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b388ec",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 265.8,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70733,
    "c": 0.14755,
    "h": 302.6
  },
  "luminance": 0.33248
}

Semantic roles & 50–950 ramp

primary
#B388EC
secondary
#E7F2D9
accent
#D51180
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B388EC

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

Preview Lab → · Contrast checker → · Palette generator →

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