#B487EE#B487EE

#B487EE is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.152 H 302.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#B487EE
RGBrgb(180, 135, 238)
HSLhsl(266, 75%, 73%)
HSVhsv(266, 43%, 93%)
CMYKcmyk(24.4%, 43.3%, 0%, 6.7%)
CIE-LABlab(64.33, 37.35, -45.68)
CIE-LCHlch(64.33, 59.00, 309.28°)
OKLaboklab(70.76% 0.0824 -0.1276)
OKLCHoklch(70.76% 0.152 302.9)
XYZxyz(42.9156, 33.2043, 85.0205)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487EE #C1EE87
analogous
#878DEE #B487EE #E887EE
triadic
#B487EE #EEB487 #87EEB4
tetradic
#B487EE #EE878D #C1EE87 #87EEE8
square
#B487EE #EE878D #C1EE87 #87EEE8
split-complementary
#B487EE #EEE887 #8DEE87
monochromatic
#711FDC #9251E6 #B487EE #D6BDF6 #EEE4FB

Accessibility & contrast

On white

2.75
#B487EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#B487EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487EE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487EE#FFFFFF#000000##000000
##B487EE1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#769CEB
Tritanopia (blue-blind)
#AA98AF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b487ee;
/* rgb */ color: rgb(180, 135, 238);
/* oklch */ color: oklch(70.8% 0.152 302.9);
Tailwind
colors: {
  custom: {
    50: '#ccaaf4',
    500: '#b487ee',
    950: '#000000',
  },
}
SCSS
$custom: #b487ee;
$custom-light: #ccaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b487ee",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 266.214,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7076,
    "c": 0.1519,
    "h": 302.9
  },
  "luminance": 0.33204
}

Semantic roles & 50–950 ramp

primary
#B487EE
secondary
#E7F3D8
accent
#D70E7F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B487EE

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

Preview Lab → · Contrast checker → · Palette generator →

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