#B388EE#B388EE

#B388EE is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.150 H 302.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#B388EE
RGBrgb(179, 136, 238)
HSLhsl(265, 75%, 73%)
HSVhsv(265, 43%, 93%)
CMYKcmyk(24.8%, 42.9%, 0%, 6.7%)
CIE-LABlab(64.46, 36.52, -45.48)
CIE-LCHlch(64.46, 58.33, 308.77°)
OKLaboklab(70.84% 0.0799 -0.127)
OKLCHoklch(70.84% 0.15 302.2)
XYZxyz(42.8238, 33.3650, 85.0564)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388EE #C3EE88
analogous
#8890EE #B388EE #E688EE
triadic
#B388EE #EEB388 #88EEB3
tetradic
#B388EE #EE8890 #C3EE88 #88EEE6
square
#B388EE #EE8890 #C3EE88 #88EEE6
split-complementary
#B388EE #EEE688 #90EE88
monochromatic
#6F1FDC #9152E6 #B388EE #D5BEF6 #EEE4FB

Accessibility & contrast

On white

2.74
#B388EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#B388EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388EE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388EE#FFFFFF#000000##000000
##B388EE1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF2
Deuteranopia (green-blind)
#769CEB
Tritanopia (blue-blind)
#A999B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b388ee;
/* rgb */ color: rgb(179, 136, 238);
/* oklch */ color: oklch(70.8% 0.150 302.2);
Tailwind
colors: {
  custom: {
    50: '#ccabf4',
    500: '#b388ee',
    950: '#000000',
  },
}
SCSS
$custom: #b388ee;
$custom-light: #ccabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b388ee",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 265.294,
    "s": 75,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70835,
    "c": 0.15006,
    "h": 302.2
  },
  "luminance": 0.33365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B388EE

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

Preview Lab → · Contrast checker → · Palette generator →

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