#B682F2#B682F2

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

Color values

HEX#B682F2
RGBrgb(182, 130, 242)
HSLhsl(268, 81%, 73%)
HSVhsv(268, 46%, 95%)
CMYKcmyk(24.8%, 46.3%, 0%, 5.1%)
CIE-LABlab(63.61, 41.58, -49.00)
CIE-LCHlch(63.61, 64.27, 310.32°)
OKLaboklab(70.33% 0.0922 -0.1372)
OKLCHoklch(70.33% 0.165 303.9)
XYZxyz(43.2976, 32.3213, 87.9448)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B682F2 #BEF282
analogous
#8286F2 #B682F2 #EE82F2
triadic
#B682F2 #F2B682 #82F2B6
tetradic
#B682F2 #F28286 #BEF282 #82F2EE
square
#B682F2 #F28286 #BEF282 #82F2EE
split-complementary
#B682F2 #F2EE82 #86F282
monochromatic
#7618E2 #964BEC #B682F2 #D6B9F8 #EFE3FC

Accessibility & contrast

On white

2.81
#B682F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B682F2#FFFFFF#000000##000000
##B682F21.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#AC95AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b682f2;
/* rgb */ color: rgb(182, 130, 242);
/* oklch */ color: oklch(70.3% 0.165 303.9);
Tailwind
colors: {
  custom: {
    50: '#cea7f7',
    500: '#b682f2',
    950: '#000000',
  },
}
SCSS
$custom: #b682f2;
$custom-light: #cea7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b682f2",
  "rgb": {
    "r": 182,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 267.857,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7033,
    "c": 0.16527,
    "h": 303.9
  },
  "luminance": 0.32321
}

Semantic roles & 50–950 ramp

primary
#B682F2
secondary
#E7F4D7
accent
#DE087A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B682F2

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

Preview Lab → · Contrast checker → · Palette generator →

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