#B388FD#B388FD

#B388FD is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.6% C 0.169 H 299.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B388FD
RGBrgb(179, 136, 253)
HSLhsl(262, 97%, 76%)
HSVhsv(262, 46%, 99%)
CMYKcmyk(29.2%, 46.2%, 0%, 0.8%)
CIE-LABlab(65.19, 40.10, -52.56)
CIE-LCHlch(65.19, 66.11, 307.34°)
OKLaboklab(71.62% 0.082 -0.1476)
OKLCHoklch(71.62% 0.169 299.1)
XYZxyz(45.1200, 34.2835, 97.1497)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388FD #D2FD88
analogous
#8898FD #B388FD #ED88FD
triadic
#B388FD #FDB388 #88FDB3
tetradic
#B388FD #FD8898 #D2FD88 #88FDED
square
#B388FD #FD8898 #D2FD88 #88FDED
split-complementary
#B388FD #FDED88 #98FD88
monochromatic
#6610FB #8D4CFC #B388FD #D9C4FE #ECE1FE

Accessibility & contrast

On white

2.67
#B388FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#B388FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388FD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388FD#FFFFFF#000000##000000
##B388FD1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#A49DB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b388fd;
/* rgb */ color: rgb(179, 136, 253);
/* oklch */ color: oklch(71.6% 0.169 299.1);
Tailwind
colors: {
  custom: {
    50: '#ccabfe',
    500: '#b388fd',
    950: '#000000',
  },
}
SCSS
$custom: #b388fd;
$custom-light: #ccabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b388fd",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 262.051,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71623,
    "c": 0.16889,
    "h": 299.1
  },
  "luminance": 0.34284
}

Semantic roles & 50–950 ramp

primary
#B388FD
secondary
#EAF7D4
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B388FD

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

Preview Lab → · Contrast checker → · Palette generator →

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