#B487FE#B487FE

#B487FE is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.6% C 0.172 H 299.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B487FE
RGBrgb(180, 135, 254)
HSLhsl(263, 98%, 76%)
HSVhsv(263, 47%, 100%)
CMYKcmyk(29.1%, 46.9%, 0%, 0.4%)
CIE-LABlab(65.11, 41.15, -53.23)
CIE-LCHlch(65.11, 67.28, 307.71°)
OKLaboklab(71.6% 0.0846 -0.1495)
OKLCHoklch(71.6% 0.172 299.5)
XYZxyz(45.3716, 34.1867, 97.9551)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487FE #D1FE87
analogous
#8796FE #B487FE #F087FE
triadic
#B487FE #FEB487 #87FEB4
tetradic
#B487FE #FE8796 #D1FE87 #87FEF0
square
#B487FE #FE8796 #D1FE87 #87FEF0
split-complementary
#B487FE #FEF087 #96FE87
monochromatic
#680EFD #8E4AFD #B487FE #DAC4FF #ECE1FF

Accessibility & contrast

On white

2.68
#B487FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B487FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487FE
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487FE#FFFFFF#000000##000000
##B487FE1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#A59DB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b487fe;
/* rgb */ color: rgb(180, 135, 254);
/* oklch */ color: oklch(71.6% 0.172 299.5);
Tailwind
colors: {
  custom: {
    50: '#cdabff',
    500: '#b487fe',
    950: '#000000',
  },
}
SCSS
$custom: #b487fe;
$custom-light: #cdabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b487fe",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 262.689,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71604,
    "c": 0.17183,
    "h": 299.5
  },
  "luminance": 0.34187
}

Semantic roles & 50–950 ramp

primary
#B487FE
secondary
#EAF7D4
accent
#E6008F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B487FE

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

Preview Lab → · Contrast checker → · Palette generator →

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