#B487FD#B487FD

#B487FD is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.5% C 0.171 H 299.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B487FD
RGBrgb(180, 135, 253)
HSLhsl(263, 97%, 76%)
HSVhsv(263, 47%, 99%)
CMYKcmyk(28.9%, 46.6%, 0%, 0.8%)
CIE-LABlab(65.06, 40.91, -52.76)
CIE-LCHlch(65.06, 66.76, 307.79°)
OKLaboklab(71.55% 0.0845 -0.1482)
OKLCHoklch(71.55% 0.171 299.7)
XYZxyz(45.2118, 34.1228, 97.1139)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487FD #D0FD87
analogous
#8795FD #B487FD #EF87FD
triadic
#B487FD #FDB487 #87FDB4
tetradic
#B487FD #FD8795 #D0FD87 #87FDEF
square
#B487FD #FD8795 #D0FD87 #87FDEF
split-complementary
#B487FD #FDEF87 #95FD87
monochromatic
#690FFB #8E4BFC #B487FD #DAC3FE #ECE1FE

Accessibility & contrast

On white

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

On black

7.82
#B487FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487FD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487FD#FFFFFF#000000##000000
##B487FD1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b487fd;
/* rgb */ color: rgb(180, 135, 253);
/* oklch */ color: oklch(71.5% 0.171 299.7);
Tailwind
colors: {
  custom: {
    50: '#cdabfe',
    500: '#b487fd',
    950: '#000000',
  },
}
SCSS
$custom: #b487fd;
$custom-light: #cdabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b487fd",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 262.881,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7155,
    "c": 0.17059,
    "h": 299.7
  },
  "luminance": 0.34123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B487FD

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

Preview Lab → · Contrast checker → · Palette generator →

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