#B686EC#B686EC

#B686EC is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.152 H 304.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B686EC
RGBrgb(182, 134, 236)
HSLhsl(268, 73%, 73%)
HSVhsv(268, 43%, 93%)
CMYKcmyk(22.9%, 43.2%, 0%, 7.5%)
CIE-LABlab(64.20, 38.00, -44.75)
CIE-LCHlch(64.20, 58.71, 310.33°)
OKLaboklab(70.68% 0.0859 -0.1248)
OKLCHoklch(70.68% 0.152 304.5)
XYZxyz(42.9536, 33.0516, 83.4573)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B686EC #BCEC86
analogous
#8689EC #B686EC #E986EC
triadic
#B686EC #ECB686 #86ECB6
tetradic
#B686EC #EC8689 #BCEC86 #86ECE9
square
#B686EC #EC8689 #BCEC86 #86ECE9
split-complementary
#B686EC #ECE986 #89EC86
monochromatic
#7622D6 #9651E4 #B686EC #D6BBF4 #EFE5FB

Accessibility & contrast

On white

2.76
#B686EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#B686EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B686EC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B686EC#FFFFFF#000000##000000
##B686EC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#779CE9
Tritanopia (blue-blind)
#AD97AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b686ec;
/* rgb */ color: rgb(182, 134, 236);
/* oklch */ color: oklch(70.7% 0.152 304.5);
Tailwind
colors: {
  custom: {
    50: '#ceaaf2',
    500: '#b686ec',
    950: '#000000',
  },
}
SCSS
$custom: #b686ec;
$custom-light: #ceaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b686ec",
  "rgb": {
    "r": 182,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 268.235,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.15152,
    "h": 304.5
  },
  "luminance": 0.33051
}

Semantic roles & 50–950 ramp

primary
#B686EC
secondary
#E6F3D8
accent
#D51179
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B686EC

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

Preview Lab → · Contrast checker → · Palette generator →

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