#B681EB#B681EB

#B681EB is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.158 H 305.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B681EB
RGBrgb(182, 129, 235)
HSLhsl(270, 73%, 71%)
HSVhsv(270, 45%, 92%)
CMYKcmyk(22.6%, 45.1%, 0%, 7.8%)
CIE-LABlab(63.05, 40.52, -46.02)
CIE-LCHlch(63.05, 61.32, 311.36°)
OKLaboklab(69.8% 0.0925 -0.1285)
OKLCHoklch(69.8% 0.158 305.8)
XYZxyz(42.1340, 31.6440, 82.4694)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B681EB #B6EB81
analogous
#8181EB #B681EB #EB81EB
triadic
#B681EB #EBB681 #81EBB6
tetradic
#B681EB #EB8181 #B6EB81 #81EBEB
square
#B681EB #EB8181 #B6EB81 #81EBEB
split-complementary
#B681EB #EBEB81 #81EB81
monochromatic
#7921D1 #974CE3 #B681EB #D5B6F3 #F0E5FB

Accessibility & contrast

On white

2.87
#B681EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B681EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B681EB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B681EB#FFFFFF#000000##000000
##B681EB1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b681eb;
/* rgb */ color: rgb(182, 129, 235);
/* oklch */ color: oklch(69.8% 0.158 305.8);
Tailwind
colors: {
  custom: {
    50: '#cea6f2',
    500: '#b681eb',
    950: '#000000',
  },
}
SCSS
$custom: #b681eb;
$custom-light: #cea6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b681eb",
  "rgb": {
    "r": 182,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69799,
    "c": 0.15837,
    "h": 305.8
  },
  "luminance": 0.31644
}

Semantic roles & 50–950 ramp

primary
#B681EB
secondary
#E4F2D6
accent
#D51173
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B681EB

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

Preview Lab → · Contrast checker → · Palette generator →

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