#B287C9#B287C9

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

Color values

HEX#B287C9
RGBrgb(178, 135, 201)
HSLhsl(279, 38%, 66%)
HSVhsv(279, 33%, 79%)
CMYKcmyk(11.4%, 32.8%, 0%, 21.2%)
CIE-LABlab(62.52, 28.50, -27.91)
CIE-LCHlch(62.52, 39.89, 315.59°)
OKLaboklab(68.82% 0.0724 -0.0765)
OKLCHoklch(68.82% 0.105 313.4)
XYZxyz(37.5650, 31.0106, 59.2538)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287C9 #9EC987
analogous
#9187C9 #B287C9 #C987BF
triadic
#B287C9 #C9B287 #87C9B2
tetradic
#B287C9 #C99187 #9EC987 #87BFC9
square
#B287C9 #C99187 #9EC987 #87BFC9
split-complementary
#B287C9 #BFC987 #87C991
monochromatic
#774293 #975DB6 #B287C9 #CDB1DC #E8DBEF

Accessibility & contrast

On white

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

On black

7.20
#B287C9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287C9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287C9#FFFFFF#000000##000000
##B287C91.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CC
Deuteranopia (green-blind)
#8698C7
Tritanopia (blue-blind)
#B0909F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b287c9;
/* rgb */ color: rgb(178, 135, 201);
/* oklch */ color: oklch(68.8% 0.105 313.4);
Tailwind
colors: {
  custom: {
    50: '#caaad9',
    500: '#b287c9',
    950: '#000000',
  },
}
SCSS
$custom: #b287c9;
$custom-light: #caaad9;
$custom-dark: #000000;
JSON
{
  "hex": "#b287c9",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 201
  },
  "hsl": {
    "h": 279.091,
    "s": 37.931,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68816,
    "c": 0.10537,
    "h": 313.4
  },
  "luminance": 0.3101
}

Semantic roles & 50–950 ramp

primary
#B287C9
secondary
#D3E1CB
accent
#B13560
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B287C9

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

Preview Lab → · Contrast checker → · Palette generator →

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