#B487EF#B487EF

#B487EF is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.8% C 0.153 H 302.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B487EF
RGBrgb(180, 135, 239)
HSLhsl(266, 76%, 73%)
HSVhsv(266, 44%, 94%)
CMYKcmyk(24.7%, 43.5%, 0%, 6.3%)
CIE-LABlab(64.37, 37.59, -46.15)
CIE-LCHlch(64.37, 59.52, 309.16°)
OKLaboklab(70.81% 0.0826 -0.129)
OKLCHoklch(70.81% 0.153 302.6)
XYZxyz(43.0630, 33.2633, 85.7964)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487EF #C2EF87
analogous
#878EEF #B487EF #E887EF
triadic
#B487EF #EFB487 #87EFB4
tetradic
#B487EF #EF878E #C2EF87 #87EFE8
square
#B487EF #EF878E #C2EF87 #87EFE8
split-complementary
#B487EF #EFE887 #8EEF87
monochromatic
#711EDE #9251E8 #B487EF #D6BDF6 #EEE4FB

Accessibility & contrast

On white

2.74
#B487EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B487EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487EF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487EF#FFFFFF#000000##000000
##B487EF1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#AA99B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b487ef;
/* rgb */ color: rgb(180, 135, 239);
/* oklch */ color: oklch(70.8% 0.153 302.6);
Tailwind
colors: {
  custom: {
    50: '#ccaaf4',
    500: '#b487ef',
    950: '#000000',
  },
}
SCSS
$custom: #b487ef;
$custom-light: #ccaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b487ef",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 265.962,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70811,
    "c": 0.15314,
    "h": 302.6
  },
  "luminance": 0.33263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B487EF

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

Preview Lab → · Contrast checker → · Palette generator →

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