#B682F7#B682F7

#B682F7 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.6% C 0.171 H 302.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B682F7
RGBrgb(182, 130, 247)
HSLhsl(267, 88%, 74%)
HSVhsv(267, 47%, 97%)
CMYKcmyk(26.3%, 47.4%, 0%, 3.1%)
CIE-LABlab(63.86, 42.75, -51.36)
CIE-LCHlch(63.86, 66.83, 309.77°)
OKLaboklab(70.6% 0.0928 -0.1441)
OKLCHoklch(70.6% 0.171 302.8)
XYZxyz(44.0588, 32.6258, 91.9539)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B682F7 #C3F782
analogous
#8289F7 #B682F7 #F182F7
triadic
#B682F7 #F7B682 #82F7B6
tetradic
#B682F7 #F78289 #C3F782 #82F7F1
square
#B682F7 #F78289 #C3F782 #82F7F1
split-complementary
#B682F7 #F7F182 #89F782
monochromatic
#730FEF #9448F3 #B682F7 #D8BCFB #EEE2FD

Accessibility & contrast

On white

2.79
#B682F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#B682F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B682F7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B682F7#FFFFFF#000000##000000
##B682F71.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFB
Deuteranopia (green-blind)
#6D9AF4
Tritanopia (blue-blind)
#AA97B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b682f7;
/* rgb */ color: rgb(182, 130, 247);
/* oklch */ color: oklch(70.6% 0.171 302.8);
Tailwind
colors: {
  custom: {
    50: '#cea7fa',
    500: '#b682f7',
    950: '#000000',
  },
}
SCSS
$custom: #b682f7;
$custom-light: #cea7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b682f7",
  "rgb": {
    "r": 182,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 266.667,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70597,
    "c": 0.17134,
    "h": 302.8
  },
  "luminance": 0.32626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B682F7

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

Preview Lab → · Contrast checker → · Palette generator →

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