#B487DE#B487DE

#B487DE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.0% C 0.132 H 307.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B487DE
RGBrgb(180, 135, 222)
HSLhsl(271, 57%, 70%)
HSVhsv(271, 39%, 87%)
CMYKcmyk(18.9%, 39.2%, 0%, 12.9%)
CIE-LABlab(63.59, 33.69, -37.96)
CIE-LCHlch(63.59, 50.76, 311.59°)
OKLaboklab(69.97% 0.0796 -0.1053)
OKLCHoklch(69.97% 0.132 307.1)
XYZxyz(40.6686, 32.3055, 73.1862)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487DE #B1DE87
analogous
#8887DE #B487DE #DE87DD
triadic
#B487DE #DEB487 #87DEB4
tetradic
#B487DE #DE8887 #B1DE87 #87DDDE
square
#B487DE #DE8887 #B1DE87 #87DDDE
split-complementary
#B487DE #DDDE87 #87DE88
monochromatic
#7833B8 #9657D1 #B487DE #D2B7EB #F0E7F8

Accessibility & contrast

On white

2.81
#B487DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B487DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487DE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487DE#FFFFFF#000000##000000
##B487DE1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E1
Deuteranopia (green-blind)
#7E9ADC
Tritanopia (blue-blind)
#AE94A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b487de;
/* rgb */ color: rgb(180, 135, 222);
/* oklch */ color: oklch(70.0% 0.132 307.1);
Tailwind
colors: {
  custom: {
    50: '#ccaae8',
    500: '#b487de',
    950: '#000000',
  },
}
SCSS
$custom: #b487de;
$custom-light: #ccaae8;
$custom-dark: #000000;
JSON
{
  "hex": "#b487de",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 271.034,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.69969,
    "c": 0.13196,
    "h": 307.1
  },
  "luminance": 0.32305
}

Semantic roles & 50–950 ramp

primary
#B487DE
secondary
#E0EDD4
accent
#C42170
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B487DE

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

Preview Lab → · Contrast checker → · Palette generator →

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