#B487FA#B487FA

#B487FA is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.4% C 0.167 H 300.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B487FA
RGBrgb(180, 135, 250)
HSLhsl(263, 92%, 75%)
HSVhsv(263, 46%, 98%)
CMYKcmyk(28%, 46%, 0%, 2%)
CIE-LABlab(64.91, 40.19, -51.35)
CIE-LCHlch(64.91, 65.21, 308.05°)
OKLaboklab(71.39% 0.0841 -0.1441)
OKLCHoklch(71.39% 0.167 300.3)
XYZxyz(44.7377, 33.9332, 94.6168)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487FA #CDFA87
analogous
#8793FA #B487FA #ED87FA
triadic
#B487FA #FAB487 #87FAB4
tetradic
#B487FA #FA8793 #CDFA87 #87FAED
square
#B487FA #FA8793 #CDFA87 #87FAED
split-complementary
#B487FA #FAED87 #93FA87
monochromatic
#6B11F5 #8F4CF8 #B487FA #D9C2FC #EDE2FE

Accessibility & contrast

On white

2.70
#B487FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#B487FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487FA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487FA#FFFFFF#000000##000000
##B487FA1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#A69CB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b487fa;
/* rgb */ color: rgb(180, 135, 250);
/* oklch */ color: oklch(71.4% 0.167 300.3);
Tailwind
colors: {
  custom: {
    50: '#cdabfc',
    500: '#b487fa',
    950: '#000000',
  },
}
SCSS
$custom: #b487fa;
$custom-light: #cdabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b487fa",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 263.478,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71388,
    "c": 0.16685,
    "h": 300.3
  },
  "luminance": 0.33933
}

Semantic roles & 50–950 ramp

primary
#B487FA
secondary
#E9F6D5
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B487FA

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

Preview Lab → · Contrast checker → · Palette generator →

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