#B287CA#B287CA

#B287CA is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.9% C 0.107 H 313.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B287CA
RGBrgb(178, 135, 202)
HSLhsl(279, 39%, 66%)
HSVhsv(279, 33%, 79%)
CMYKcmyk(11.9%, 33.2%, 0%, 20.8%)
CIE-LABlab(62.56, 28.71, -28.41)
CIE-LCHlch(62.56, 40.39, 315.30°)
OKLaboklab(68.86% 0.0727 -0.078)
OKLCHoklch(68.86% 0.107 313)
XYZxyz(37.6830, 31.0578, 59.8753)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287CA #9FCA87
analogous
#9087CA #B287CA #CA87C0
triadic
#B287CA #CAB287 #87CAB2
tetradic
#B287CA #CA9087 #9FCA87 #87C0CA
square
#B287CA #CA9087 #9FCA87 #87C0CA
split-complementary
#B287CA #C0CA87 #87CA90
monochromatic
#774295 #975DB7 #B287CA #CDB1DD #E8DCEF

Accessibility & contrast

On white

2.91
#B287CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B287CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287CA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287CA#FFFFFF#000000##000000
##B287CA1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b287ca;
/* rgb */ color: rgb(178, 135, 202);
/* oklch */ color: oklch(68.9% 0.107 313.0);
Tailwind
colors: {
  custom: {
    50: '#caaada',
    500: '#b287ca',
    950: '#000000',
  },
}
SCSS
$custom: #b287ca;
$custom-light: #caaada;
$custom-dark: #000000;
JSON
{
  "hex": "#b287ca",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 278.507,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6886,
    "c": 0.10658,
    "h": 313
  },
  "luminance": 0.31057
}

Semantic roles & 50–950 ramp

primary
#B287CA
secondary
#D3E1CB
accent
#B23461
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B287CA

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

Preview Lab → · Contrast checker → · Palette generator →

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