#B388FC#B388FC

#B388FC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.6% C 0.168 H 299.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B388FC
RGBrgb(179, 136, 252)
HSLhsl(262, 95%, 76%)
HSVhsv(262, 46%, 99%)
CMYKcmyk(29%, 46%, 0%, 1.2%)
CIE-LABlab(65.14, 39.86, -52.10)
CIE-LCHlch(65.14, 65.59, 307.42°)
OKLaboklab(71.57% 0.0819 -0.1463)
OKLCHoklch(71.57% 0.168 299.2)
XYZxyz(44.9611, 34.2200, 96.3130)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388FC #D1FC88
analogous
#8897FC #B388FC #ED88FC
triadic
#B388FC #FCB388 #88FCB3
tetradic
#B388FC #FC8897 #D1FC88 #88FCED
square
#B388FC #FC8897 #D1FC88 #88FCED
split-complementary
#B388FC #FCED88 #97FC88
monochromatic
#6711F9 #8D4CFA #B388FC #D9C4FE #ECE1FE

Accessibility & contrast

On white

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

On black

7.84
#B388FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388FC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388FC#FFFFFF#000000##000000
##B388FC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b388fc;
/* rgb */ color: rgb(179, 136, 252);
/* oklch */ color: oklch(71.6% 0.168 299.2);
Tailwind
colors: {
  custom: {
    50: '#ccabfe',
    500: '#b388fc',
    950: '#000000',
  },
}
SCSS
$custom: #b388fc;
$custom-light: #ccabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b388fc",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 262.241,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71569,
    "c": 0.16764,
    "h": 299.2
  },
  "luminance": 0.3422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B388FC

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

Preview Lab → · Contrast checker → · Palette generator →

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