#B388FA#B388FA

#B388FA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.5% C 0.165 H 299.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B388FA
RGBrgb(179, 136, 250)
HSLhsl(263, 92%, 76%)
HSVhsv(263, 46%, 98%)
CMYKcmyk(28.4%, 45.6%, 0%, 2%)
CIE-LABlab(65.04, 39.38, -51.16)
CIE-LCHlch(65.04, 64.56, 307.58°)
OKLaboklab(71.46% 0.0816 -0.1435)
OKLCHoklch(71.46% 0.165 299.6)
XYZxyz(44.6459, 34.0939, 94.6526)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388FA #CFFA88
analogous
#8896FA #B388FA #EC88FA
triadic
#B388FA #FAB388 #88FAB3
tetradic
#B388FA #FA8896 #CFFA88 #88FAEC
square
#B388FA #FA8896 #CFFA88 #88FAEC
split-complementary
#B388FA #FAEC88 #96FA88
monochromatic
#6813F5 #8D4DF8 #B388FA #D9C3FC #ECE2FE

Accessibility & contrast

On white

2.69
#B388FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B388FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388FA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388FA#FFFFFF#000000##000000
##B388FA1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#A59DB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b388fa;
/* rgb */ color: rgb(179, 136, 250);
/* oklch */ color: oklch(71.5% 0.165 299.6);
Tailwind
colors: {
  custom: {
    50: '#ccabfc',
    500: '#b388fa',
    950: '#000000',
  },
}
SCSS
$custom: #b388fa;
$custom-light: #ccabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b388fa",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 262.632,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71462,
    "c": 0.16514,
    "h": 299.6
  },
  "luminance": 0.34094
}

Semantic roles & 50–950 ramp

primary
#B388FA
secondary
#EAF6D5
accent
#E6008F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B388FA

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

Preview Lab → · Contrast checker → · Palette generator →

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