#B782F9#B782F9

#B782F9 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.8% C 0.174 H 302.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B782F9
RGBrgb(183, 130, 249)
HSLhsl(267, 91%, 74%)
HSVhsv(267, 48%, 98%)
CMYKcmyk(26.5%, 47.8%, 0%, 2.4%)
CIE-LABlab(64.06, 43.48, -52.14)
CIE-LCHlch(64.06, 67.89, 309.83°)
OKLaboklab(70.8% 0.0942 -0.1463)
OKLCHoklch(70.8% 0.174 302.8)
XYZxyz(44.6062, 32.8721, 93.5991)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B782F9 #C4F982
analogous
#8289F9 #B782F9 #F382F9
triadic
#B782F9 #F9B782 #82F9B7
tetradic
#B782F9 #F98289 #C4F982 #82F9F3
square
#B782F9 #F98289 #C4F982 #82F9F3
split-complementary
#B782F9 #F9F382 #89F982
monochromatic
#740DF3 #9548F6 #B782F9 #D9BCFC #EEE2FE

Accessibility & contrast

On white

2.77
#B782F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B782F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B782F9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B782F9#FFFFFF#000000##000000
##B782F91.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#AB97B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b782f9;
/* rgb */ color: rgb(183, 130, 249);
/* oklch */ color: oklch(70.8% 0.174 302.8);
Tailwind
colors: {
  custom: {
    50: '#cfa7fc',
    500: '#b782f9',
    950: '#000000',
  },
}
SCSS
$custom: #b782f9;
$custom-light: #cfa7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b782f9",
  "rgb": {
    "r": 183,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 266.723,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.17398,
    "h": 302.8
  },
  "luminance": 0.32872
}

Semantic roles & 50–950 ramp

primary
#B782F9
secondary
#E7F6D5
accent
#E6007F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B782F9

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

Preview Lab → · Contrast checker → · Palette generator →

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