#B388E8#B388E8

#B388E8 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.5% C 0.143 H 303.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B388E8
RGBrgb(179, 136, 232)
HSLhsl(267, 68%, 72%)
HSVhsv(267, 41%, 91%)
CMYKcmyk(22.8%, 41.4%, 0%, 9%)
CIE-LABlab(64.18, 35.12, -42.61)
CIE-LCHlch(64.18, 55.22, 309.50°)
OKLaboklab(70.53% 0.0789 -0.1187)
OKLCHoklch(70.53% 0.143 303.6)
XYZxyz(41.9570, 33.0183, 80.4911)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388E8 #BDE888
analogous
#888DE8 #B388E8 #E388E8
triadic
#B388E8 #E8B388 #88E8B3
tetradic
#B388E8 #E8888D #BDE888 #88E8E3
square
#B388E8 #E8888D #BDE888 #88E8E3
split-complementary
#B388E8 #E8E388 #8DE888
monochromatic
#7228CE #9255DE #B388E8 #D4BBF2 #EFE5FA

Accessibility & contrast

On white

2.76
#B388E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B388E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388E8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388E8#FFFFFF#000000##000000
##B388E81.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEC
Deuteranopia (green-blind)
#7A9BE5
Tritanopia (blue-blind)
#AA98AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b388e8;
/* rgb */ color: rgb(179, 136, 232);
/* oklch */ color: oklch(70.5% 0.143 303.6);
Tailwind
colors: {
  custom: {
    50: '#cbabef',
    500: '#b388e8',
    950: '#000000',
  },
}
SCSS
$custom: #b388e8;
$custom-light: #cbabef;
$custom-dark: #000000;
JSON
{
  "hex": "#b388e8",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 232
  },
  "hsl": {
    "h": 266.875,
    "s": 67.606,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70533,
    "c": 0.14252,
    "h": 303.6
  },
  "luminance": 0.33018
}

Semantic roles & 50–950 ramp

primary
#B388E8
secondary
#E7F2D9
accent
#D0167C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B388E8

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

Preview Lab → · Contrast checker → · Palette generator →

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