#B487DB#B487DB

#B487DB is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.8% C 0.128 H 308.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B487DB
RGBrgb(180, 135, 219)
HSLhsl(272, 54%, 69%)
HSVhsv(272, 38%, 86%)
CMYKcmyk(17.8%, 38.4%, 0%, 14.1%)
CIE-LABlab(63.46, 33.02, -36.50)
CIE-LCHlch(63.46, 49.22, 312.14°)
OKLaboklab(69.83% 0.079 -0.101)
OKLCHoklch(69.83% 0.128 308)
XYZxyz(40.2701, 32.1461, 71.0875)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487DB #AEDB87
analogous
#8A87DB #B487DB #DB87D8
triadic
#B487DB #DBB487 #87DBB4
tetradic
#B487DB #DB8A87 #AEDB87 #87D8DB
square
#B487DB #DB8A87 #AEDB87 #87D8DB
split-complementary
#B487DB #D8DB87 #87DB8A
monochromatic
#7835B2 #9758CD #B487DB #D1B6E9 #EFE5F7

Accessibility & contrast

On white

2.83
#B487DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B487DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487DB
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487DB#FFFFFF#000000##000000
##B487DB1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DE
Deuteranopia (green-blind)
#809AD9
Tritanopia (blue-blind)
#AF94A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b487db;
/* rgb */ color: rgb(180, 135, 219);
/* oklch */ color: oklch(69.8% 0.128 308.0);
Tailwind
colors: {
  custom: {
    50: '#ccaae6',
    500: '#b487db',
    950: '#000000',
  },
}
SCSS
$custom: #b487db;
$custom-light: #ccaae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b487db",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 272.143,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69827,
    "c": 0.12824,
    "h": 308
  },
  "luminance": 0.32146
}

Semantic roles & 50–950 ramp

primary
#B487DB
secondary
#DEEBD3
accent
#C1246D
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B487DB

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

Preview Lab → · Contrast checker → · Palette generator →

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