#B782F7#B782F7

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

Color values

HEX#B782F7
RGBrgb(183, 130, 247)
HSLhsl(267, 88%, 74%)
HSVhsv(267, 47%, 97%)
CMYKcmyk(25.9%, 47.4%, 0%, 3.1%)
CIE-LABlab(63.96, 43.02, -51.20)
CIE-LCHlch(63.96, 66.87, 310.04°)
OKLaboklab(70.69% 0.094 -0.1435)
OKLCHoklch(70.69% 0.172 303.2)
XYZxyz(44.2959, 32.7480, 91.9650)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B782F7 #C2F782
analogous
#8288F7 #B782F7 #F182F7
triadic
#B782F7 #F7B782 #82F7B7
tetradic
#B782F7 #F78288 #C2F782 #82F7F1
square
#B782F7 #F78288 #C2F782 #82F7F1
split-complementary
#B782F7 #F7F182 #88F782
monochromatic
#750FEF #9648F3 #B782F7 #D8BCFB #EEE2FD

Accessibility & contrast

On white

2.78
#B782F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#B782F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B782F7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B782F7#FFFFFF#000000##000000
##B782F71.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#6D9BF4
Tritanopia (blue-blind)
#AC97B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b782f7;
/* rgb */ color: rgb(183, 130, 247);
/* oklch */ color: oklch(70.7% 0.172 303.2);
Tailwind
colors: {
  custom: {
    50: '#cfa7fa',
    500: '#b782f7',
    950: '#000000',
  },
}
SCSS
$custom: #b782f7;
$custom-light: #cfa7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b782f7",
  "rgb": {
    "r": 183,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 267.179,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70694,
    "c": 0.17156,
    "h": 303.2
  },
  "luminance": 0.32748
}

Semantic roles & 50–950 ramp

primary
#B782F7
secondary
#E7F5D6
accent
#E5017D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B782F7

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

Preview Lab → · Contrast checker → · Palette generator →

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