#B387FA#B387FA

#B387FA is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.3% C 0.167 H 299.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#B387FA
RGBrgb(179, 135, 250)
HSLhsl(263, 92%, 75%)
HSVhsv(263, 46%, 98%)
CMYKcmyk(28.4%, 46%, 0%, 2%)
CIE-LABlab(64.81, 39.93, -51.51)
CIE-LCHlch(64.81, 65.17, 307.78°)
OKLaboklab(71.3% 0.083 -0.1446)
OKLCHoklch(71.3% 0.167 299.8)
XYZxyz(44.5057, 33.8135, 94.6059)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B387FA #CEFA87
analogous
#8794FA #B387FA #ED87FA
triadic
#B387FA #FAB387 #87FAB3
tetradic
#B387FA #FA8794 #CEFA87 #87FAED
square
#B387FA #FA8794 #CEFA87 #87FAED
split-complementary
#B387FA #FAED87 #94FA87
monochromatic
#6911F5 #8E4CF8 #B387FA #D8C2FC #ECE2FE

Accessibility & contrast

On white

2.71
#B387FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#B387FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B387FA
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B387FA#FFFFFF#000000##000000
##B387FA1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#6E9CF7
Tritanopia (blue-blind)
#A59CB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b387fa;
/* rgb */ color: rgb(179, 135, 250);
/* oklch */ color: oklch(71.3% 0.167 299.8);
Tailwind
colors: {
  custom: {
    50: '#ccabfc',
    500: '#b387fa',
    950: '#000000',
  },
}
SCSS
$custom: #b387fa;
$custom-light: #ccabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b387fa",
  "rgb": {
    "r": 179,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 262.957,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71295,
    "c": 0.16668,
    "h": 299.8
  },
  "luminance": 0.33814
}

Semantic roles & 50–950 ramp

primary
#B387FA
secondary
#E9F6D5
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B387FA

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

Preview Lab → · Contrast checker → · Palette generator →

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