#B388FB#B388FB

#B388FB is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.5% C 0.166 H 299.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B388FB
RGBrgb(179, 136, 251)
HSLhsl(262, 93%, 76%)
HSVhsv(262, 46%, 98%)
CMYKcmyk(28.7%, 45.8%, 0%, 1.6%)
CIE-LABlab(65.09, 39.62, -51.63)
CIE-LCHlch(65.09, 65.08, 307.50°)
OKLaboklab(71.52% 0.0818 -0.1449)
OKLCHoklch(71.52% 0.166 299.4)
XYZxyz(44.8031, 34.1568, 95.4806)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388FB #D0FB88
analogous
#8896FB #B388FB #ED88FB
triadic
#B388FB #FBB388 #88FBB3
tetradic
#B388FB #FB8896 #D0FB88 #88FBED
square
#B388FB #FB8896 #D0FB88 #88FBED
split-complementary
#B388FB #FBED88 #96FB88
monochromatic
#6712F7 #8D4DF9 #B388FB #D9C3FD #ECE1FE

Accessibility & contrast

On white

2.68
#B388FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#B388FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388FB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388FB#FFFFFF#000000##000000
##B388FB1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#A59DB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b388fb;
/* rgb */ color: rgb(179, 136, 251);
/* oklch */ color: oklch(71.5% 0.166 299.4);
Tailwind
colors: {
  custom: {
    50: '#ccabfd',
    500: '#b388fb',
    950: '#000000',
  },
}
SCSS
$custom: #b388fb;
$custom-light: #ccabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b388fb",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 262.435,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71515,
    "c": 0.16638,
    "h": 299.4
  },
  "luminance": 0.34157
}

Semantic roles & 50–950 ramp

primary
#B388FB
secondary
#EAF6D5
accent
#E60090
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B388FB

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

Preview Lab → · Contrast checker → · Palette generator →

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