#B487DF#B487DF

#B487DF is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.0% C 0.133 H 306.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B487DF
RGBrgb(180, 135, 223)
HSLhsl(271, 58%, 70%)
HSVhsv(271, 39%, 87%)
CMYKcmyk(19.3%, 39.5%, 0%, 12.5%)
CIE-LABlab(63.64, 33.91, -38.45)
CIE-LCHlch(63.64, 51.27, 311.41°)
OKLaboklab(70.02% 0.0798 -0.1067)
OKLCHoklch(70.02% 0.133 306.8)
XYZxyz(40.8030, 32.3593, 73.8941)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B487DF #B2DF87
analogous
#8887DF #B487DF #DF87DE
triadic
#B487DF #DFB487 #87DFB4
tetradic
#B487DF #DF8887 #B2DF87 #87DEDF
square
#B487DF #DF8887 #B2DF87 #87DEDF
split-complementary
#B487DF #DEDF87 #87DF88
monochromatic
#7732BA #9657D2 #B487DF #D2B7EC #F0E7F9

Accessibility & contrast

On white

2.81
#B487DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B487DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B487DF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B487DF#FFFFFF#000000##000000
##B487DF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E2
Deuteranopia (green-blind)
#7E9BDD
Tritanopia (blue-blind)
#AE95A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b487df;
/* rgb */ color: rgb(180, 135, 223);
/* oklch */ color: oklch(70.0% 0.133 306.8);
Tailwind
colors: {
  custom: {
    50: '#ccaae9',
    500: '#b487df',
    950: '#000000',
  },
}
SCSS
$custom: #b487df;
$custom-light: #ccaae9;
$custom-dark: #000000;
JSON
{
  "hex": "#b487df",
  "rgb": {
    "r": 180,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 270.682,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70017,
    "c": 0.1332,
    "h": 306.8
  },
  "luminance": 0.32359
}

Semantic roles & 50–950 ramp

primary
#B487DF
secondary
#E1EDD5
accent
#C52071
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B487DF

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

Preview Lab → · Contrast checker → · Palette generator →

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