#B487DC#B487DC

#B487DC is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.9% C 0.129 H 307.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B487DC
RGBrgb(180, 135, 220)
HSLhsl(272, 55%, 70%)
HSVhsv(272, 39%, 86%)
CMYKcmyk(18.2%, 38.6%, 0%, 13.7%)
CIE-LABlab(63.51, 33.24, -36.99)
CIE-LCHlch(63.51, 49.73, 311.95°)
OKLaboklab(69.87% 0.0792 -0.1025)
OKLCHoklch(69.87% 0.129 307.7)
XYZxyz(40.4022, 32.1989, 71.7829)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487DC #AFDC87
analogous
#8A87DC #B487DC #DC87D9
triadic
#B487DC #DCB487 #87DCB4
tetradic
#B487DC #DC8A87 #AFDC87 #87D9DC
square
#B487DC #DC8A87 #AFDC87 #87D9DC
split-complementary
#B487DC #D9DC87 #87DC8A
monochromatic
#7835B4 #9658CE #B487DC #D2B6EA #EFE6F8

Accessibility & contrast

On white

2.82
#B487DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B487DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487DC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487DC#FFFFFF#000000##000000
##B487DC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#7F9ADA
Tritanopia (blue-blind)
#AF94A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b487dc;
/* rgb */ color: rgb(180, 135, 220);
/* oklch */ color: oklch(69.9% 0.129 307.7);
Tailwind
colors: {
  custom: {
    50: '#ccaae7',
    500: '#b487dc',
    950: '#000000',
  },
}
SCSS
$custom: #b487dc;
$custom-light: #ccaae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b487dc",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 271.765,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69874,
    "c": 0.12948,
    "h": 307.7
  },
  "luminance": 0.32199
}

Semantic roles & 50–950 ramp

primary
#B487DC
secondary
#DFECD3
accent
#C2236E
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B487DC

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

Preview Lab → · Contrast checker → · Palette generator →

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