#B287C8#B287C8

#B287C8 is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.8% C 0.104 H 313.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B287C8
RGBrgb(178, 135, 200)
HSLhsl(280, 37%, 66%)
HSVhsv(280, 33%, 78%)
CMYKcmyk(11%, 32.5%, 0%, 21.6%)
CIE-LABlab(62.48, 28.29, -27.41)
CIE-LCHlch(62.48, 39.39, 315.90°)
OKLaboklab(68.77% 0.0722 -0.0751)
OKLCHoklch(68.77% 0.104 313.9)
XYZxyz(37.4477, 30.9637, 58.6363)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287C8 #9DC887
analogous
#9187C8 #B287C8 #C887BD
triadic
#B287C8 #C8B287 #87C8B2
tetradic
#B287C8 #C89187 #9DC887 #87BDC8
square
#B287C8 #C89187 #9DC887 #87BDC8
split-complementary
#B287C8 #BDC887 #87C891
monochromatic
#774392 #975DB5 #B287C8 #CDB1DB #E8DBEE

Accessibility & contrast

On white

2.92
#B287C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B287C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287C8
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287C8#FFFFFF#000000##000000
##B287C81.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D95CB
Deuteranopia (green-blind)
#8798C6
Tritanopia (blue-blind)
#B18F9F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b287c8;
/* rgb */ color: rgb(178, 135, 200);
/* oklch */ color: oklch(68.8% 0.104 313.9);
Tailwind
colors: {
  custom: {
    50: '#caaad9',
    500: '#b287c8',
    950: '#000000',
  },
}
SCSS
$custom: #b287c8;
$custom-light: #caaad9;
$custom-dark: #000000;
JSON
{
  "hex": "#b287c8",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 279.692,
    "s": 37.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68773,
    "c": 0.10417,
    "h": 313.9
  },
  "luminance": 0.30963
}

Semantic roles & 50–950 ramp

primary
#B287C8
secondary
#D2E0CB
accent
#B0355F
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B287C8

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

Preview Lab → · Contrast checker → · Palette generator →

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