#B388F7#B388F7

#B388F7 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.3% C 0.161 H 300.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B388F7
RGBrgb(179, 136, 247)
HSLhsl(263, 87%, 75%)
HSVhsv(263, 45%, 97%)
CMYKcmyk(27.5%, 44.9%, 0%, 3.1%)
CIE-LABlab(64.89, 38.66, -49.75)
CIE-LCHlch(64.89, 63.00, 307.85°)
OKLaboklab(71.3% 0.0812 -0.1394)
OKLCHoklch(71.3% 0.161 300.2)
XYZxyz(44.1792, 33.9072, 92.1949)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388F7 #CCF788
analogous
#8895F7 #B388F7 #EA88F7
triadic
#B388F7 #F7B388 #88F7B3
tetradic
#B388F7 #F78895 #CCF788 #88F7EA
square
#B388F7 #F78895 #CCF788 #88F7EA
split-complementary
#B388F7 #F7EA88 #95F788
monochromatic
#6A15EF #8E4FF3 #B388F7 #D8C1FB #EDE2FD

Accessibility & contrast

On white

2.70
#B388F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B388F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388F7
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388F7#FFFFFF#000000##000000
##B388F71.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#A69CB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b388f7;
/* rgb */ color: rgb(179, 136, 247);
/* oklch */ color: oklch(71.3% 0.161 300.2);
Tailwind
colors: {
  custom: {
    50: '#ccabfa',
    500: '#b388f7',
    950: '#000000',
  },
}
SCSS
$custom: #b388f7;
$custom-light: #ccabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b388f7",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 263.243,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71302,
    "c": 0.16137,
    "h": 300.2
  },
  "luminance": 0.33907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B388F7

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

Preview Lab → · Contrast checker → · Palette generator →

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