#B487EC#B487EC

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

Color values

HEX#B487EC
RGBrgb(180, 135, 236)
HSLhsl(267, 73%, 73%)
HSVhsv(267, 43%, 93%)
CMYKcmyk(23.7%, 42.8%, 0%, 7.5%)
CIE-LABlab(64.23, 36.89, -44.72)
CIE-LCHlch(64.23, 57.97, 309.52°)
OKLaboklab(70.66% 0.0821 -0.1248)
OKLCHoklch(70.66% 0.149 303.3)
XYZxyz(42.6234, 33.0874, 83.4816)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487EC #BFEC87
analogous
#878CEC #B487EC #E787EC
triadic
#B487EC #ECB487 #87ECB4
tetradic
#B487EC #EC878C #BFEC87 #87ECE7
square
#B487EC #EC878C #BFEC87 #87ECE7
split-complementary
#B487EC #ECE787 #8CEC87
monochromatic
#7222D7 #9352E4 #B487EC #D5BCF4 #EEE5FB

Accessibility & contrast

On white

2.76
#B487EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#B487EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487EC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487EC#FFFFFF#000000##000000
##B487EC1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF0
Deuteranopia (green-blind)
#779CE9
Tritanopia (blue-blind)
#AA98AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b487ec;
/* rgb */ color: rgb(180, 135, 236);
/* oklch */ color: oklch(70.7% 0.149 303.3);
Tailwind
colors: {
  custom: {
    50: '#ccaaf2',
    500: '#b487ec',
    950: '#000000',
  },
}
SCSS
$custom: #b487ec;
$custom-light: #ccaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b487ec",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 266.733,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.1494,
    "h": 303.3
  },
  "luminance": 0.33087
}

Semantic roles & 50–950 ramp

primary
#B487EC
secondary
#E7F2D9
accent
#D5117D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B487EC

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

Preview Lab → · Contrast checker → · Palette generator →

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