#B087FA#B087FA

#B087FA is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.0% C 0.166 H 298.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#B087FA
RGBrgb(176, 135, 250)
HSLhsl(261, 92%, 75%)
HSVhsv(261, 46%, 98%)
CMYKcmyk(29.6%, 46%, 0%, 2%)
CIE-LABlab(64.53, 39.14, -51.98)
CIE-LCHlch(64.53, 65.07, 306.98°)
OKLaboklab(71.02% 0.0794 -0.146)
OKLCHoklch(71.02% 0.166 298.5)
XYZxyz(43.8197, 33.4598, 94.5737)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B087FA #D1FA87
analogous
#8797FA #B087FA #E987FA
triadic
#B087FA #FAB087 #87FAB0
tetradic
#B087FA #FA8797 #D1FA87 #87FAE9
square
#B087FA #FA8797 #D1FA87 #87FAE9
split-complementary
#B087FA #FAE987 #97FA87
monochromatic
#6311F5 #894CF8 #B087FA #D7C2FC #ECE2FE

Accessibility & contrast

On white

2.73
#B087FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#B087FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B087FA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B087FA#FFFFFF#000000##000000
##B087FA1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#A19CB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b087fa;
/* rgb */ color: rgb(176, 135, 250);
/* oklch */ color: oklch(71.0% 0.166 298.5);
Tailwind
colors: {
  custom: {
    50: '#caaafc',
    500: '#b087fa',
    950: '#000000',
  },
}
SCSS
$custom: #b087fa;
$custom-light: #caaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#b087fa",
  "rgb": {
    "r": 176,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 261.391,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71016,
    "c": 0.1662,
    "h": 298.5
  },
  "luminance": 0.3346
}

Semantic roles & 50–950 ramp

primary
#B087FA
secondary
#EAF6D5
accent
#E60094
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B087FA

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

Preview Lab → · Contrast checker → · Palette generator →

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