#B387FF#B387FF

#B387FF is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.6% C 0.173 H 298.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B387FF
RGBrgb(179, 135, 255)
HSLhsl(262, 100%, 76%)
HSVhsv(262, 47%, 100%)
CMYKcmyk(29.8%, 47.1%, 0%, 0%)
CIE-LABlab(65.07, 41.14, -53.85)
CIE-LCHlch(65.07, 67.76, 307.38°)
OKLaboklab(71.57% 0.0835 -0.1514)
OKLCHoklch(71.57% 0.173 298.9)
XYZxyz(45.3001, 34.1313, 98.7898)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B387FF #D3FF87
analogous
#8797FF #B387FF #EF87FF
triadic
#B387FF #FFB387 #87FFB3
tetradic
#B387FF #FF8797 #D3FF87 #87FFEF
square
#B387FF #FF8797 #D3FF87 #87FFEF
split-complementary
#B387FF #FFEF87 #97FF87
monochromatic
#650DFF #8C4AFF #B387FF #DAC4FF #ECE0FF

Accessibility & contrast

On white

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

On black

7.83
#B387FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B387FF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B387FF#FFFFFF#000000##000000
##B387FF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#6B9DFC
Tritanopia (blue-blind)
#A39DB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b387ff;
/* rgb */ color: rgb(179, 135, 255);
/* oklch */ color: oklch(71.6% 0.173 298.9);
Tailwind
colors: {
  custom: {
    50: '#cdabff',
    500: '#b387ff',
    950: '#000000',
  },
}
SCSS
$custom: #b387ff;
$custom-light: #cdabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b387ff",
  "rgb": {
    "r": 179,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 262,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71566,
    "c": 0.17291,
    "h": 298.9
  },
  "luminance": 0.34132
}

Semantic roles & 50–950 ramp

primary
#B387FF
secondary
#EAF7D4
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B387FF

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

Preview Lab → · Contrast checker → · Palette generator →

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