#B487FF#B487FF

#B487FF is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.7% C 0.173 H 299.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B487FF
RGBrgb(180, 135, 255)
HSLhsl(263, 100%, 76%)
HSVhsv(263, 47%, 100%)
CMYKcmyk(29.4%, 47.1%, 0%, 0%)
CIE-LABlab(65.16, 41.39, -53.69)
CIE-LCHlch(65.16, 67.80, 307.63°)
OKLaboklab(71.66% 0.0847 -0.1509)
OKLCHoklch(71.66% 0.173 299.3)
XYZxyz(45.5321, 34.2509, 98.8006)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487FF #D2FF87
analogous
#8796FF #B487FF #F087FF
triadic
#B487FF #FFB487 #87FFB4
tetradic
#B487FF #FF8796 #D2FF87 #87FFF0
square
#B487FF #FF8796 #D2FF87 #87FFF0
split-complementary
#B487FF #FFF087 #96FF87
monochromatic
#680DFF #8E4AFF #B487FF #DAC4FF #ECE0FF

Accessibility & contrast

On white

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

On black

7.85
#B487FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487FF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487FF#FFFFFF#000000##000000
##B487FF1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b487ff;
/* rgb */ color: rgb(180, 135, 255);
/* oklch */ color: oklch(71.7% 0.173 299.3);
Tailwind
colors: {
  custom: {
    50: '#cdabff',
    500: '#b487ff',
    950: '#000000',
  },
}
SCSS
$custom: #b487ff;
$custom-light: #cdabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b487ff",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 262.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71659,
    "c": 0.17307,
    "h": 299.3
  },
  "luminance": 0.34251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B487FF

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

Preview Lab → · Contrast checker → · Palette generator →

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