#B682F8#B682F8

#B682F8 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.7% C 0.173 H 302.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#B682F8
RGBrgb(182, 130, 248)
HSLhsl(266, 89%, 74%)
HSVhsv(266, 48%, 97%)
CMYKcmyk(26.6%, 47.6%, 0%, 2.7%)
CIE-LABlab(63.91, 42.99, -51.83)
CIE-LCHlch(63.91, 67.34, 309.67°)
OKLaboklab(70.65% 0.0929 -0.1454)
OKLCHoklch(70.65% 0.173 302.6)
XYZxyz(44.2136, 32.6877, 92.7688)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B682F8 #C4F882
analogous
#8289F8 #B682F8 #F182F8
triadic
#B682F8 #F8B682 #82F8B6
tetradic
#B682F8 #F88289 #C4F882 #82F8F1
square
#B682F8 #F88289 #C4F882 #82F8F1
split-complementary
#B682F8 #F8F182 #89F882
monochromatic
#720EF2 #9448F5 #B682F8 #D8BCFB #EEE2FD

Accessibility & contrast

On white

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

On black

7.54
#B682F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B682F8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B682F8#FFFFFF#000000##000000
##B682F81.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b682f8;
/* rgb */ color: rgb(182, 130, 248);
/* oklch */ color: oklch(70.7% 0.173 302.6);
Tailwind
colors: {
  custom: {
    50: '#cea7fb',
    500: '#b682f8',
    950: '#000000',
  },
}
SCSS
$custom: #b682f8;
$custom-light: #cea7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b682f8",
  "rgb": {
    "r": 182,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 266.441,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70651,
    "c": 0.17255,
    "h": 302.6
  },
  "luminance": 0.32688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B682F8

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

Preview Lab → · Contrast checker → · Palette generator →

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