#B687EA#B687EA

#B687EA is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.147 H 304.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#B687EA
RGBrgb(182, 135, 234)
HSLhsl(268, 70%, 72%)
HSVhsv(268, 42%, 92%)
CMYKcmyk(22.2%, 42.3%, 0%, 8.2%)
CIE-LABlab(64.33, 36.99, -43.44)
CIE-LCHlch(64.33, 57.05, 310.41°)
OKLaboklab(70.75% 0.0842 -0.1211)
OKLCHoklch(70.75% 0.147 304.8)
XYZxyz(42.8036, 33.2137, 81.9819)
Luminance0.3321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B687EA #BBEA87
analogous
#8789EA #B687EA #E887EA
triadic
#B687EA #EAB687 #87EAB6
tetradic
#B687EA #EA8789 #BBEA87 #87EAE8
square
#B687EA #EA8789 #BBEA87 #87EAE8
split-complementary
#B687EA #EAE887 #89EA87
monochromatic
#7725D2 #9653E1 #B687EA #D6BBF3 #EFE5FA

Accessibility & contrast

On white

2.75
#B687EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#B687EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B687EA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B687EA#FFFFFF#000000##000000
##B687EA1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#AE97AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b687ea;
/* rgb */ color: rgb(182, 135, 234);
/* oklch */ color: oklch(70.8% 0.147 304.8);
Tailwind
colors: {
  custom: {
    50: '#ceaaf1',
    500: '#b687ea',
    950: '#000000',
  },
}
SCSS
$custom: #b687ea;
$custom-light: #ceaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b687ea",
  "rgb": {
    "r": 182,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 268.485,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7075,
    "c": 0.14743,
    "h": 304.8
  },
  "luminance": 0.33214
}

Semantic roles & 50–950 ramp

primary
#B687EA
secondary
#E6F2D9
accent
#D21378
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B687EA

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

Preview Lab → · Contrast checker → · Palette generator →

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