#B287D4#B287D4

#B287D4 is a light, moderate violet. Relative luminance 0.315; OKLCH L 69.3% C 0.119 H 309.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B287D4
RGBrgb(178, 135, 212)
HSLhsl(274, 47%, 68%)
HSVhsv(274, 36%, 83%)
CMYKcmyk(16%, 36.3%, 0%, 16.9%)
CIE-LABlab(62.97, 30.87, -33.38)
CIE-LCHlch(62.97, 45.47, 312.76°)
OKLaboklab(69.31% 0.0751 -0.0921)
OKLCHoklch(69.31% 0.119 309.2)
XYZxyz(38.9056, 31.5468, 66.3142)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287D4 #A9D487
analogous
#8B87D4 #B287D4 #D487D0
triadic
#B287D4 #D4B287 #87D4B2
tetradic
#B287D4 #D48B87 #A9D487 #87D0D4
square
#B287D4 #D48B87 #A9D487 #87D0D4
split-complementary
#B287D4 #D0D487 #87D48B
monochromatic
#763BA5 #955AC4 #B287D4 #CFB4E4 #ECE1F4

Accessibility & contrast

On white

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

On black

7.31
#B287D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287D4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287D4#FFFFFF#000000##000000
##B287D41.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D7
Deuteranopia (green-blind)
#8299D2
Tritanopia (blue-blind)
#AE92A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b287d4;
/* rgb */ color: rgb(178, 135, 212);
/* oklch */ color: oklch(69.3% 0.119 309.2);
Tailwind
colors: {
  custom: {
    50: '#caaae1',
    500: '#b287d4',
    950: '#000000',
  },
}
SCSS
$custom: #b287d4;
$custom-light: #caaae1;
$custom-dark: #000000;
JSON
{
  "hex": "#b287d4",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 273.506,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69306,
    "c": 0.11886,
    "h": 309.2
  },
  "luminance": 0.31546
}

Semantic roles & 50–950 ramp

primary
#B287D4
secondary
#DAE7D0
accent
#BA2B6A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B287D4

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

Preview Lab → · Contrast checker → · Palette generator →

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