#B682EB#B682EB

#B682EB is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.0% C 0.157 H 305.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B682EB
RGBrgb(182, 130, 235)
HSLhsl(270, 72%, 72%)
HSVhsv(270, 45%, 92%)
CMYKcmyk(22.6%, 44.7%, 0%, 7.8%)
CIE-LABlab(63.27, 39.97, -45.67)
CIE-LCHlch(63.27, 60.69, 311.19°)
OKLaboklab(69.96% 0.0912 -0.1275)
OKLCHoklch(69.96% 0.157 305.6)
XYZxyz(42.2663, 31.9088, 82.5135)
Luminance0.3191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B682EB #B7EB82
analogous
#8283EB #B682EB #EA82EB
triadic
#B682EB #EBB682 #82EBB6
tetradic
#B682EB #EB8283 #B7EB82 #82EBEA
square
#B682EB #EB8283 #B7EB82 #82EBEA
split-complementary
#B682EB #EBEA82 #83EB82
monochromatic
#7821D1 #974DE3 #B682EB #D5B7F3 #F0E5FB

Accessibility & contrast

On white

2.84
#B682EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#B682EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B682EB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B682EB#FFFFFF#000000##000000
##B682EB1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#AE93AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b682eb;
/* rgb */ color: rgb(182, 130, 235);
/* oklch */ color: oklch(70.0% 0.157 305.6);
Tailwind
colors: {
  custom: {
    50: '#cea7f2',
    500: '#b682eb',
    950: '#000000',
  },
}
SCSS
$custom: #b682eb;
$custom-light: #cea7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b682eb",
  "rgb": {
    "r": 182,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 269.714,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69964,
    "c": 0.15676,
    "h": 305.6
  },
  "luminance": 0.31909
}

Semantic roles & 50–950 ramp

primary
#B682EB
secondary
#E5F2D7
accent
#D41174
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B682EB

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

Preview Lab → · Contrast checker → · Palette generator →

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