#B087EA#B087EA

#B087EA is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.2% C 0.146 H 301.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#B087EA
RGBrgb(176, 135, 234)
HSLhsl(265, 70%, 72%)
HSVhsv(265, 42%, 92%)
CMYKcmyk(24.8%, 42.3%, 0%, 8.2%)
CIE-LABlab(63.75, 35.30, -44.40)
CIE-LCHlch(63.75, 56.72, 308.49°)
OKLaboklab(70.18% 0.0771 -0.1239)
OKLCHoklch(70.18% 0.146 301.9)
XYZxyz(41.4165, 32.4985, 81.9169)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B087EA #C1EA87
analogous
#8790EA #B087EA #E187EA
triadic
#B087EA #EAB087 #87EAB0
tetradic
#B087EA #EA8790 #C1EA87 #87EAE1
square
#B087EA #EA8790 #C1EA87 #87EAE1
split-complementary
#B087EA #EAE187 #90EA87
monochromatic
#6C25D2 #8E53E1 #B087EA #D2BBF3 #EEE5FA

Accessibility & contrast

On white

2.80
#B087EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#B087EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B087EA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B087EA#FFFFFF#000000##000000
##B087EA1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#A698AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b087ea;
/* rgb */ color: rgb(176, 135, 234);
/* oklch */ color: oklch(70.2% 0.146 301.9);
Tailwind
colors: {
  custom: {
    50: '#c9aaf1',
    500: '#b087ea',
    950: '#000000',
  },
}
SCSS
$custom: #b087ea;
$custom-light: #c9aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b087ea",
  "rgb": {
    "r": 176,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 264.848,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70177,
    "c": 0.14595,
    "h": 301.9
  },
  "luminance": 0.32499
}

Semantic roles & 50–950 ramp

primary
#B087EA
secondary
#E8F2D9
accent
#D21383
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B087EA

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

Preview Lab → · Contrast checker → · Palette generator →

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