#B487E7#B487E7

#B487E7 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.4% C 0.143 H 304.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#B487E7
RGBrgb(180, 135, 231)
HSLhsl(268, 67%, 72%)
HSVhsv(268, 42%, 91%)
CMYKcmyk(22.1%, 41.6%, 0%, 9.4%)
CIE-LABlab(64.00, 35.73, -42.32)
CIE-LCHlch(64.00, 55.39, 310.17°)
OKLaboklab(70.41% 0.0813 -0.1178)
OKLCHoklch(70.41% 0.143 304.6)
XYZxyz(41.9072, 32.8009, 79.7093)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487E7 #BAE787
analogous
#878AE7 #B487E7 #E487E7
triadic
#B487E7 #E7B487 #87E7B4
tetradic
#B487E7 #E7878A #BAE787 #87E7E4
square
#B487E7 #E7878A #BAE787 #87E7E4
split-complementary
#B487E7 #E7E487 #8AE787
monochromatic
#7529CB #9454DD #B487E7 #D4BAF1 #EFE5FA

Accessibility & contrast

On white

2.78
#B487E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#B487E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487E7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487E7#FFFFFF#000000##000000
##B487E71.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEB
Deuteranopia (green-blind)
#7A9BE4
Tritanopia (blue-blind)
#AC97AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b487e7;
/* rgb */ color: rgb(180, 135, 231);
/* oklch */ color: oklch(70.4% 0.143 304.6);
Tailwind
colors: {
  custom: {
    50: '#ccaaef',
    500: '#b487e7',
    950: '#000000',
  },
}
SCSS
$custom: #b487e7;
$custom-light: #ccaaef;
$custom-dark: #000000;
JSON
{
  "hex": "#b487e7",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 268.125,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70407,
    "c": 0.14316,
    "h": 304.6
  },
  "luminance": 0.32801
}

Semantic roles & 50–950 ramp

primary
#B487E7
secondary
#E6F1D9
accent
#CF1778
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B487E7

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

Preview Lab → · Contrast checker → · Palette generator →

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