#B487FB#B487FB

#B487FB is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.4% C 0.168 H 300.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B487FB
RGBrgb(180, 135, 251)
HSLhsl(263, 94%, 76%)
HSVhsv(263, 46%, 98%)
CMYKcmyk(28.3%, 46.2%, 0%, 1.6%)
CIE-LABlab(64.96, 40.43, -51.82)
CIE-LCHlch(64.96, 65.73, 307.96°)
OKLaboklab(71.44% 0.0843 -0.1455)
OKLCHoklch(71.44% 0.168 300.1)
XYZxyz(44.8949, 33.9960, 95.4447)
Luminance0.3400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487FB #CEFB87
analogous
#8794FB #B487FB #EE87FB
triadic
#B487FB #FBB487 #87FBB4
tetradic
#B487FB #FB8794 #CEFB87 #87FBEE
square
#B487FB #FB8794 #CEFB87 #87FBEE
split-complementary
#B487FB #FBEE87 #94FB87
monochromatic
#6A11F7 #8F4CF9 #B487FB #D9C2FD #ECE1FE

Accessibility & contrast

On white

2.69
#B487FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#B487FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487FB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487FB#FFFFFF#000000##000000
##B487FB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#A69CB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b487fb;
/* rgb */ color: rgb(180, 135, 251);
/* oklch */ color: oklch(71.4% 0.168 300.1);
Tailwind
colors: {
  custom: {
    50: '#cdabfd',
    500: '#b487fb',
    950: '#000000',
  },
}
SCSS
$custom: #b487fb;
$custom-light: #cdabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b487fb",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 263.276,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71442,
    "c": 0.1681,
    "h": 300.1
  },
  "luminance": 0.33996
}

Semantic roles & 50–950 ramp

primary
#B487FB
secondary
#E9F6D5
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B487FB

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

Preview Lab → · Contrast checker → · Palette generator →

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