#B686F2#B686F2

#B686F2 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.0% C 0.159 H 303.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#B686F2
RGBrgb(182, 134, 242)
HSLhsl(267, 81%, 74%)
HSVhsv(267, 45%, 95%)
CMYKcmyk(24.8%, 44.6%, 0%, 5.1%)
CIE-LABlab(64.49, 39.39, -47.61)
CIE-LCHlch(64.49, 61.79, 309.60°)
OKLaboklab(70.99% 0.0868 -0.1331)
OKLCHoklch(70.99% 0.159 303.1)
XYZxyz(43.8400, 33.4061, 88.1256)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B686F2 #C2F286
analogous
#868CF2 #B686F2 #EC86F2
triadic
#B686F2 #F2B686 #86F2B6
tetradic
#B686F2 #F2868C #C2F286 #86F2EC
square
#B686F2 #F2868C #C2F286 #86F2EC
split-complementary
#B686F2 #F2EC86 #8CF286
monochromatic
#7319E5 #954FEC #B686F2 #D7BDF8 #EEE3FC

Accessibility & contrast

On white

2.73
#B686F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#B686F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B686F2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B686F2#FFFFFF#000000##000000
##B686F21.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#AC99B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b686f2;
/* rgb */ color: rgb(182, 134, 242);
/* oklch */ color: oklch(71.0% 0.159 303.1);
Tailwind
colors: {
  custom: {
    50: '#ceaaf7',
    500: '#b686f2',
    950: '#000000',
  },
}
SCSS
$custom: #b686f2;
$custom-light: #ceaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b686f2",
  "rgb": {
    "r": 182,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 266.667,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7099,
    "c": 0.15892,
    "h": 303.1
  },
  "luminance": 0.33406
}

Semantic roles & 50–950 ramp

primary
#B686F2
secondary
#E7F4D7
accent
#DD097F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B686F2

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

Preview Lab → · Contrast checker → · Palette generator →

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