#B388DD#B388DD

#B388DD is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.0% C 0.129 H 306.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B388DD
RGBrgb(179, 136, 221)
HSLhsl(270, 56%, 70%)
HSVhsv(270, 38%, 87%)
CMYKcmyk(19%, 38.5%, 0%, 13.3%)
CIE-LABlab(63.68, 32.61, -37.28)
CIE-LCHlch(63.68, 49.53, 311.18°)
OKLaboklab(70% 0.0768 -0.1033)
OKLCHoklch(70% 0.129 306.6)
XYZxyz(40.4431, 32.4128, 72.5183)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388DD #B2DD88
analogous
#8888DD #B388DD #DD88DD
triadic
#B388DD #DDB388 #88DDB3
tetradic
#B388DD #DD8888 #B2DD88 #88DDDD
square
#B388DD #DD8888 #B2DD88 #88DDDD
split-complementary
#B388DD #DDDD88 #88DD88
monochromatic
#7634B6 #9558CF #B388DD #D1B8EB #F0E7F8

Accessibility & contrast

On white

2.81
#B388DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B388DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388DD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388DD#FFFFFF#000000##000000
##B388DD1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E0
Deuteranopia (green-blind)
#7F9BDB
Tritanopia (blue-blind)
#AD95A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b388dd;
/* rgb */ color: rgb(179, 136, 221);
/* oklch */ color: oklch(70.0% 0.129 306.6);
Tailwind
colors: {
  custom: {
    50: '#cbabe8',
    500: '#b388dd',
    950: '#000000',
  },
}
SCSS
$custom: #b388dd;
$custom-light: #cbabe8;
$custom-dark: #000000;
JSON
{
  "hex": "#b388dd",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 221
  },
  "hsl": {
    "h": 270.353,
    "s": 55.556,
    "l": 70
  },
  "oklch": {
    "l": 0.69998,
    "c": 0.12872,
    "h": 306.6
  },
  "luminance": 0.32412
}

Semantic roles & 50–950 ramp

primary
#B388DD
secondary
#E0ECD4
accent
#C32272
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B388DD

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

Preview Lab → · Contrast checker → · Palette generator →

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