#B287D5#B287D5

#B287D5 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.4% C 0.120 H 308.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B287D5
RGBrgb(178, 135, 213)
HSLhsl(273, 48%, 68%)
HSVhsv(273, 37%, 84%)
CMYKcmyk(16.4%, 36.6%, 0%, 16.5%)
CIE-LABlab(63.01, 31.09, -33.87)
CIE-LCHlch(63.01, 45.98, 312.55°)
OKLaboklab(69.35% 0.0753 -0.0936)
OKLCHoklch(69.35% 0.12 308.8)
XYZxyz(39.0321, 31.5974, 66.9806)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287D5 #AAD587
analogous
#8B87D5 #B287D5 #D587D1
triadic
#B287D5 #D5B287 #87D5B2
tetradic
#B287D5 #D58B87 #AAD587 #87D1D5
square
#B287D5 #D58B87 #AAD587 #87D1D5
split-complementary
#B287D5 #D1D587 #87D58B
monochromatic
#763AA7 #955AC5 #B287D5 #CFB4E5 #ECE2F5

Accessibility & contrast

On white

2.87
#B287D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#B287D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287D5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287D5#FFFFFF#000000##000000
##B287D51.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7897D8
Deuteranopia (green-blind)
#8199D3
Tritanopia (blue-blind)
#AE92A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b287d5;
/* rgb */ color: rgb(178, 135, 213);
/* oklch */ color: oklch(69.4% 0.120 308.8);
Tailwind
colors: {
  custom: {
    50: '#caaae2',
    500: '#b287d5',
    950: '#000000',
  },
}
SCSS
$custom: #b287d5;
$custom-light: #caaae2;
$custom-dark: #000000;
JSON
{
  "hex": "#b287d5",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 273.077,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69352,
    "c": 0.1201,
    "h": 308.8
  },
  "luminance": 0.31597
}

Semantic roles & 50–950 ramp

primary
#B287D5
secondary
#DBE8D0
accent
#BB2A6B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B287D5

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

Preview Lab → · Contrast checker → · Palette generator →

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