#B388F8#B388F8

#B388F8 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.4% C 0.163 H 300.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B388F8
RGBrgb(179, 136, 248)
HSLhsl(263, 89%, 75%)
HSVhsv(263, 45%, 97%)
CMYKcmyk(27.8%, 45.2%, 0%, 2.7%)
CIE-LABlab(64.94, 38.89, -50.22)
CIE-LCHlch(64.94, 63.52, 307.76°)
OKLaboklab(71.36% 0.0814 -0.1408)
OKLCHoklch(71.36% 0.163 300)
XYZxyz(44.3339, 33.9691, 93.0098)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388F8 #CDF888
analogous
#8895F8 #B388F8 #EB88F8
triadic
#B388F8 #F8B388 #88F8B3
tetradic
#B388F8 #F88895 #CDF888 #88F8EB
square
#B388F8 #F88895 #CDF888 #88F8EB
split-complementary
#B388F8 #F8EB88 #95F888
monochromatic
#6914F1 #8E4EF5 #B388F8 #D8C2FB #EDE2FD

Accessibility & contrast

On white

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

On black

7.79
#B388F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388F8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388F8#FFFFFF#000000##000000
##B388F81.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#709DF5
Tritanopia (blue-blind)
#A69CB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b388f8;
/* rgb */ color: rgb(179, 136, 248);
/* oklch */ color: oklch(71.4% 0.163 300.0);
Tailwind
colors: {
  custom: {
    50: '#ccabfb',
    500: '#b388f8',
    950: '#000000',
  },
}
SCSS
$custom: #b388f8;
$custom-light: #ccabfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b388f8",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 248
  },
  "hsl": {
    "h": 263.036,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71355,
    "c": 0.16263,
    "h": 300
  },
  "luminance": 0.33969
}

Semantic roles & 50–950 ramp

primary
#B388F8
secondary
#E9F5D6
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B388F8

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

Preview Lab → · Contrast checker → · Palette generator →

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