#B287D7#B287D7

#B287D7 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.4% C 0.123 H 308.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B287D7
RGBrgb(178, 135, 215)
HSLhsl(272, 50%, 69%)
HSVhsv(272, 37%, 84%)
CMYKcmyk(17.2%, 37.2%, 0%, 15.7%)
CIE-LABlab(63.09, 31.53, -34.86)
CIE-LCHlch(63.09, 47.01, 312.13°)
OKLaboklab(69.45% 0.0758 -0.0964)
OKLCHoklch(69.45% 0.123 308.2)
XYZxyz(39.2875, 31.6996, 68.3257)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287D7 #ACD787
analogous
#8A87D7 #B287D7 #D787D4
triadic
#B287D7 #D7B287 #87D7B2
tetradic
#B287D7 #D78A87 #ACD787 #87D4D7
square
#B287D7 #D78A87 #ACD787 #87D4D7
split-complementary
#B287D7 #D4D787 #87D78A
monochromatic
#7639AB #9559C8 #B287D7 #CFB5E6 #EDE3F6

Accessibility & contrast

On white

2.86
#B287D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B287D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287D7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287D7#FFFFFF#000000##000000
##B287D71.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7797DA
Deuteranopia (green-blind)
#8099D5
Tritanopia (blue-blind)
#AD93A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b287d7;
/* rgb */ color: rgb(178, 135, 215);
/* oklch */ color: oklch(69.4% 0.123 308.2);
Tailwind
colors: {
  custom: {
    50: '#caaae3',
    500: '#b287d7',
    950: '#000000',
  },
}
SCSS
$custom: #b287d7;
$custom-light: #caaae3;
$custom-dark: #000000;
JSON
{
  "hex": "#b287d7",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 272.25,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69445,
    "c": 0.12259,
    "h": 308.2
  },
  "luminance": 0.31699
}

Semantic roles & 50–950 ramp

primary
#B287D7
secondary
#DCE9D1
accent
#BD286D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B287D7

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

Preview Lab → · Contrast checker → · Palette generator →

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