#B682EC#B682EC

#B682EC is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.0% C 0.158 H 305.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#B682EC
RGBrgb(182, 130, 236)
HSLhsl(269, 74%, 72%)
HSVhsv(269, 45%, 93%)
CMYKcmyk(22.9%, 44.9%, 0%, 7.5%)
CIE-LABlab(63.32, 40.20, -46.15)
CIE-LCHlch(63.32, 61.20, 311.06°)
OKLaboklab(70.02% 0.0913 -0.1289)
OKLCHoklch(70.02% 0.158 305.3)
XYZxyz(42.4112, 31.9667, 83.2765)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B682EC #B8EC82
analogous
#8283EC #B682EC #EB82EC
triadic
#B682EC #ECB682 #82ECB6
tetradic
#B682EC #EC8283 #B8EC82 #82ECEB
square
#B682EC #EC8283 #B8EC82 #82ECEB
split-complementary
#B682EC #ECEB82 #83EC82
monochromatic
#7820D3 #974DE4 #B682EC #D5B7F4 #EFE4FB

Accessibility & contrast

On white

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

On black

7.39
#B682EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B682EC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B682EC#FFFFFF#000000##000000
##B682EC1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#739AE9
Tritanopia (blue-blind)
#AD94AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b682ec;
/* rgb */ color: rgb(182, 130, 236);
/* oklch */ color: oklch(70.0% 0.158 305.3);
Tailwind
colors: {
  custom: {
    50: '#cea7f2',
    500: '#b682ec',
    950: '#000000',
  },
}
SCSS
$custom: #b682ec;
$custom-light: #cea7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b682ec",
  "rgb": {
    "r": 182,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 269.434,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70016,
    "c": 0.15797,
    "h": 305.3
  },
  "luminance": 0.31966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B682EC

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

Preview Lab → · Contrast checker → · Palette generator →

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