#B681F6#B681F6

#B681F6 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.4% C 0.172 H 303.2°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B681F6
RGBrgb(182, 129, 246)
HSLhsl(267, 87%, 74%)
HSVhsv(267, 48%, 96%)
CMYKcmyk(26%, 47.6%, 0%, 3.5%)
CIE-LABlab(63.59, 43.06, -51.23)
CIE-LCHlch(63.59, 66.93, 310.05°)
OKLaboklab(70.38% 0.094 -0.1437)
OKLCHoklch(70.38% 0.172 303.2)
XYZxyz(43.7726, 32.2995, 91.0993)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B681F6 #C1F681
analogous
#8186F6 #B681F6 #F081F6
triadic
#B681F6 #F6B681 #81F6B6
tetradic
#B681F6 #F68186 #C1F681 #81F6F0
square
#B681F6 #F68186 #C1F681 #81F6F0
split-complementary
#B681F6 #F6F081 #86F681
monochromatic
#7411EC #9548F2 #B681F6 #D7BAFA #EEE2FD

Accessibility & contrast

On white

2.82
#B681F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B681F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B681F6
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B681F6#FFFFFF#000000##000000
##B681F61.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#6C9AF3
Tritanopia (blue-blind)
#AB96B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b681f6;
/* rgb */ color: rgb(182, 129, 246);
/* oklch */ color: oklch(70.4% 0.172 303.2);
Tailwind
colors: {
  custom: {
    50: '#cea7fa',
    500: '#b681f6',
    950: '#000000',
  },
}
SCSS
$custom: #b681f6;
$custom-light: #cea7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b681f6",
  "rgb": {
    "r": 182,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 267.179,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70381,
    "c": 0.17168,
    "h": 303.2
  },
  "luminance": 0.32299
}

Semantic roles & 50–950 ramp

primary
#B681F6
secondary
#E7F5D6
accent
#E3027D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B681F6

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

Preview Lab → · Contrast checker → · Palette generator →

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