#B782FC#B782FC

#B782FC is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.0% C 0.178 H 302.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B782FC
RGBrgb(183, 130, 252)
HSLhsl(266, 95%, 75%)
HSVhsv(266, 48%, 99%)
CMYKcmyk(27.4%, 48.4%, 0%, 1.2%)
CIE-LABlab(64.21, 44.19, -53.54)
CIE-LCHlch(64.21, 69.42, 309.53°)
OKLaboklab(70.97% 0.0945 -0.1504)
OKLCHoklch(70.97% 0.178 302.1)
XYZxyz(45.0778, 33.0608, 96.0831)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B782FC #C7FC82
analogous
#828AFC #B782FC #F482FC
triadic
#B782FC #FCB782 #82FCB7
tetradic
#B782FC #FC828A #C7FC82 #82FCF4
square
#B782FC #FC828A #C7FC82 #82FCF4
split-complementary
#B782FC #FCF482 #8AFC82
monochromatic
#720AF9 #9546FB #B782FC #D9BEFD #EEE1FE

Accessibility & contrast

On white

2.76
#B782FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#B782FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B782FC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B782FC#FFFFFF#000000##000000
##B782FC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#6A9BF9
Tritanopia (blue-blind)
#AA98B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b782fc;
/* rgb */ color: rgb(183, 130, 252);
/* oklch */ color: oklch(71.0% 0.178 302.1);
Tailwind
colors: {
  custom: {
    50: '#cfa7fe',
    500: '#b782fc',
    950: '#000000',
  },
}
SCSS
$custom: #b782fc;
$custom-light: #cfa7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b782fc",
  "rgb": {
    "r": 183,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 266.066,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70966,
    "c": 0.17761,
    "h": 302.1
  },
  "luminance": 0.33061
}

Semantic roles & 50–950 ramp

primary
#B782FC
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B782FC

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

Preview Lab → · Contrast checker → · Palette generator →

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