#B487ED#B487ED

#B487ED is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.151 H 303.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#B487ED
RGBrgb(180, 135, 237)
HSLhsl(266, 74%, 73%)
HSVhsv(266, 43%, 93%)
CMYKcmyk(24.1%, 43%, 0%, 7.1%)
CIE-LABlab(64.28, 37.12, -45.20)
CIE-LCHlch(64.28, 58.49, 309.39°)
OKLaboklab(70.71% 0.0823 -0.1262)
OKLCHoklch(70.71% 0.151 303.1)
XYZxyz(42.7691, 33.1457, 84.2489)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487ED #C0ED87
analogous
#878DED #B487ED #E787ED
triadic
#B487ED #EDB487 #87EDB4
tetradic
#B487ED #ED878D #C0ED87 #87EDE7
square
#B487ED #ED878D #C0ED87 #87EDE7
split-complementary
#B487ED #EDE787 #8DED87
monochromatic
#7221D9 #9352E5 #B487ED #D5BCF5 #EEE4FB

Accessibility & contrast

On white

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

On black

7.63
#B487ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487ED
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487ED#FFFFFF#000000##000000
##B487ED1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF1
Deuteranopia (green-blind)
#779CEA
Tritanopia (blue-blind)
#AA98AF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b487ed;
/* rgb */ color: rgb(180, 135, 237);
/* oklch */ color: oklch(70.7% 0.151 303.1);
Tailwind
colors: {
  custom: {
    50: '#ccaaf3',
    500: '#b487ed',
    950: '#000000',
  },
}
SCSS
$custom: #b487ed;
$custom-light: #ccaaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b487ed",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 266.471,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70709,
    "c": 0.15064,
    "h": 303.1
  },
  "luminance": 0.33146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B487ED

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

Preview Lab → · Contrast checker → · Palette generator →

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