#B487FC#B487FC

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

Color values

HEX#B487FC
RGBrgb(180, 135, 252)
HSLhsl(263, 95%, 76%)
HSVhsv(263, 46%, 99%)
CMYKcmyk(28.6%, 46.4%, 0%, 1.2%)
CIE-LABlab(65.01, 40.67, -52.29)
CIE-LCHlch(65.01, 66.25, 307.88°)
OKLaboklab(71.5% 0.0844 -0.1468)
OKLCHoklch(71.5% 0.169 299.9)
XYZxyz(45.0530, 34.0593, 96.2771)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487FC #CFFC87
analogous
#8794FC #B487FC #EE87FC
triadic
#B487FC #FCB487 #87FCB4
tetradic
#B487FC #FC8794 #CFFC87 #87FCEE
square
#B487FC #FC8794 #CFFC87 #87FCEE
split-complementary
#B487FC #FCEE87 #94FC87
monochromatic
#6910F9 #8F4BFB #B487FC #D9C3FD #ECE1FE

Accessibility & contrast

On white

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

On black

7.81
#B487FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487FC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487FC#FFFFFF#000000##000000
##B487FC1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#A69CB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b487fc;
/* rgb */ color: rgb(180, 135, 252);
/* oklch */ color: oklch(71.5% 0.169 299.9);
Tailwind
colors: {
  custom: {
    50: '#cdabfe',
    500: '#b487fc',
    950: '#000000',
  },
}
SCSS
$custom: #b487fc;
$custom-light: #cdabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b487fc",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 263.077,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71496,
    "c": 0.16934,
    "h": 299.9
  },
  "luminance": 0.3406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B487FC

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

Preview Lab → · Contrast checker → · Palette generator →

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