#B487E8#B487E8

#B487E8 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.5% C 0.144 H 304.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B487E8
RGBrgb(180, 135, 232)
HSLhsl(268, 68%, 72%)
HSVhsv(268, 42%, 91%)
CMYKcmyk(22.4%, 41.8%, 0%, 9%)
CIE-LABlab(64.05, 35.96, -42.80)
CIE-LCHlch(64.05, 55.90, 310.04°)
OKLaboklab(70.46% 0.0814 -0.1192)
OKLCHoklch(70.46% 0.144 304.3)
XYZxyz(42.0488, 32.8576, 80.4552)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487E8 #BBE887
analogous
#878BE8 #B487E8 #E587E8
triadic
#B487E8 #E8B487 #87E8B4
tetradic
#B487E8 #E8878B #BBE887 #87E8E5
square
#B487E8 #E8878B #BBE887 #87E8E5
split-complementary
#B487E8 #E8E587 #8BE887
monochromatic
#7427CD #9454DE #B487E8 #D4BAF2 #EFE5FA

Accessibility & contrast

On white

2.77
#B487E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B487E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487E8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487E8#FFFFFF#000000##000000
##B487E81.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AEC
Deuteranopia (green-blind)
#799BE5
Tritanopia (blue-blind)
#AC97AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b487e8;
/* rgb */ color: rgb(180, 135, 232);
/* oklch */ color: oklch(70.5% 0.144 304.3);
Tailwind
colors: {
  custom: {
    50: '#ccaaef',
    500: '#b487e8',
    950: '#000000',
  },
}
SCSS
$custom: #b487e8;
$custom-light: #ccaaef;
$custom-dark: #000000;
JSON
{
  "hex": "#b487e8",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 267.835,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70457,
    "c": 0.14441,
    "h": 304.3
  },
  "luminance": 0.32857
}

Semantic roles & 50–950 ramp

primary
#B487E8
secondary
#E6F2D9
accent
#D01679
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B487E8

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

Preview Lab → · Contrast checker → · Palette generator →

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