#B388EA#B388EA

#B388EA is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.6% C 0.145 H 303.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#B388EA
RGBrgb(179, 136, 234)
HSLhsl(266, 70%, 73%)
HSVhsv(266, 42%, 92%)
CMYKcmyk(23.5%, 41.9%, 0%, 8.2%)
CIE-LABlab(64.27, 35.59, -43.57)
CIE-LCHlch(64.27, 56.25, 309.24°)
OKLaboklab(70.63% 0.0792 -0.1215)
OKLCHoklch(70.63% 0.145 303.1)
XYZxyz(42.2427, 33.1326, 81.9957)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388EA #BFEA88
analogous
#888EEA #B388EA #E488EA
triadic
#B388EA #EAB388 #88EAB3
tetradic
#B388EA #EA888E #BFEA88 #88EAE4
square
#B388EA #EA888E #BFEA88 #88EAE4
split-complementary
#B388EA #EAE488 #8EEA88
monochromatic
#7125D2 #9254E1 #B388EA #D4BCF3 #EEE5FA

Accessibility & contrast

On white

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

On black

7.63
#B388EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388EA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388EA#FFFFFF#000000##000000
##B388EA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#AA98AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b388ea;
/* rgb */ color: rgb(179, 136, 234);
/* oklch */ color: oklch(70.6% 0.145 303.1);
Tailwind
colors: {
  custom: {
    50: '#cbabf1',
    500: '#b388ea',
    950: '#000000',
  },
}
SCSS
$custom: #b388ea;
$custom-light: #cbabf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b388ea",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 266.327,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70633,
    "c": 0.14503,
    "h": 303.1
  },
  "luminance": 0.33133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B388EA

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

Preview Lab → · Contrast checker → · Palette generator →

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