#B287CD#B287CD

#B287CD is a light, moderate violet. Relative luminance 0.312; OKLCH L 69.0% C 0.110 H 311.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B287CD
RGBrgb(178, 135, 205)
HSLhsl(277, 41%, 67%)
HSVhsv(277, 34%, 80%)
CMYKcmyk(13.2%, 34.1%, 0%, 19.6%)
CIE-LABlab(62.68, 29.35, -29.91)
CIE-LCHlch(62.68, 41.91, 314.46°)
OKLaboklab(68.99% 0.0734 -0.0822)
OKLCHoklch(68.99% 0.11 311.8)
XYZxyz(38.0416, 31.2013, 61.7642)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287CD #A2CD87
analogous
#8F87CD #B287CD #CD87C5
triadic
#B287CD #CDB287 #87CDB2
tetradic
#B287CD #CD8F87 #A2CD87 #87C5CD
square
#B287CD #CD8F87 #A2CD87 #87C5CD
split-complementary
#B287CD #C5CD87 #87CD8F
monochromatic
#77409A #965CBB #B287CD #CEB2DF #E9DDF1

Accessibility & contrast

On white

2.90
#B287CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#B287CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287CD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287CD#FFFFFF#000000##000000
##B287CD1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95D0
Deuteranopia (green-blind)
#8599CB
Tritanopia (blue-blind)
#AF90A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b287cd;
/* rgb */ color: rgb(178, 135, 205);
/* oklch */ color: oklch(69.0% 0.110 311.8);
Tailwind
colors: {
  custom: {
    50: '#caaadc',
    500: '#b287cd',
    950: '#000000',
  },
}
SCSS
$custom: #b287cd;
$custom-light: #caaadc;
$custom-dark: #000000;
JSON
{
  "hex": "#b287cd",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 276.857,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68991,
    "c": 0.11024,
    "h": 311.8
  },
  "luminance": 0.31201
}

Semantic roles & 50–950 ramp

primary
#B287CD
secondary
#D5E3CD
accent
#B43164
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B287CD

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

Preview Lab → · Contrast checker → · Palette generator →

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