#B487EB#B487EB

#B487EB is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.6% C 0.148 H 303.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B487EB
RGBrgb(180, 135, 235)
HSLhsl(267, 71%, 73%)
HSVhsv(267, 43%, 92%)
CMYKcmyk(23.4%, 42.6%, 0%, 7.8%)
CIE-LABlab(64.18, 36.66, -44.24)
CIE-LCHlch(64.18, 57.45, 309.64°)
OKLaboklab(70.61% 0.082 -0.1234)
OKLCHoklch(70.61% 0.148 303.6)
XYZxyz(42.4786, 33.0295, 82.7186)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487EB #BEEB87
analogous
#878CEB #B487EB #E687EB
triadic
#B487EB #EBB487 #87EBB4
tetradic
#B487EB #EB878C #BEEB87 #87EBE6
square
#B487EB #EB878C #BEEB87 #87EBE6
split-complementary
#B487EB #EBE687 #8CEB87
monochromatic
#7323D4 #9353E2 #B487EB #D5BBF4 #EFE5FB

Accessibility & contrast

On white

2.76
#B487EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#B487EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487EB
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487EB#FFFFFF#000000##000000
##B487EB1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#789CE8
Tritanopia (blue-blind)
#AB98AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b487eb;
/* rgb */ color: rgb(180, 135, 235);
/* oklch */ color: oklch(70.6% 0.148 303.6);
Tailwind
colors: {
  custom: {
    50: '#ccaaf2',
    500: '#b487eb',
    950: '#000000',
  },
}
SCSS
$custom: #b487eb;
$custom-light: #ccaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b487eb",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 267,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70608,
    "c": 0.14815,
    "h": 303.6
  },
  "luminance": 0.33029
}

Semantic roles & 50–950 ramp

primary
#B487EB
secondary
#E7F2D9
accent
#D3127C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B487EB

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

Preview Lab → · Contrast checker → · Palette generator →

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