#B782EA#B782EA

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

Color values

HEX#B782EA
RGBrgb(183, 130, 234)
HSLhsl(271, 71%, 71%)
HSVhsv(271, 44%, 92%)
CMYKcmyk(21.8%, 44.4%, 0%, 8.2%)
CIE-LABlab(63.32, 40.02, -45.03)
CIE-LCHlch(63.32, 60.24, 311.63°)
OKLaboklab(70.01% 0.0922 -0.1256)
OKLCHoklch(70.01% 0.156 306.3)
XYZxyz(42.3593, 31.9734, 81.7659)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B782EA #B5EA82
analogous
#8382EA #B782EA #EA82E9
triadic
#B782EA #EAB782 #82EAB7
tetradic
#B782EA #EA8382 #B5EA82 #82E9EA
square
#B782EA #EA8382 #B5EA82 #82E9EA
split-complementary
#B782EA #E9EA82 #82EA83
monochromatic
#7A23CF #994EE1 #B782EA #D5B6F3 #F0E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B782EA#FFFFFF#000000##000000
##B782EA1.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)
#6897EE
Deuteranopia (green-blind)
#759AE7
Tritanopia (blue-blind)
#AF93AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b782ea;
/* rgb */ color: rgb(183, 130, 234);
/* oklch */ color: oklch(70.0% 0.156 306.3);
Tailwind
colors: {
  custom: {
    50: '#cea7f1',
    500: '#b782ea',
    950: '#000000',
  },
}
SCSS
$custom: #b782ea;
$custom-light: #cea7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b782ea",
  "rgb": {
    "r": 183,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 270.577,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70012,
    "c": 0.15583,
    "h": 306.3
  },
  "luminance": 0.31973
}

Semantic roles & 50–950 ramp

primary
#B782EA
secondary
#E4F1D6
accent
#D31271
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B782EA

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

Preview Lab → · Contrast checker → · Palette generator →

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