#B780F2#B780F2

#B780F2 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.169 H 304.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B780F2
RGBrgb(183, 128, 242)
HSLhsl(269, 81%, 73%)
HSVhsv(269, 47%, 95%)
CMYKcmyk(24.4%, 47.1%, 0%, 5.1%)
CIE-LABlab(63.27, 42.94, -49.52)
CIE-LCHlch(63.27, 65.55, 310.93°)
OKLaboklab(70.1% 0.096 -0.1387)
OKLCHoklch(70.1% 0.169 304.7)
XYZxyz(43.2712, 31.9166, 87.8681)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B780F2 #BBF280
analogous
#8082F2 #B780F2 #F080F2
triadic
#B780F2 #F2B780 #80F2B7
tetradic
#B780F2 #F28082 #BBF280 #80F2F0
square
#B780F2 #F28082 #BBF280 #80F2F0
split-complementary
#B780F2 #F2F080 #82F280
monochromatic
#7817E1 #9848EC #B780F2 #D6B8F8 #EFE3FC

Accessibility & contrast

On white

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

On black

7.38
#B780F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B780F2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B780F2#FFFFFF#000000##000000
##B780F21.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#AD94AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b780f2;
/* rgb */ color: rgb(183, 128, 242);
/* oklch */ color: oklch(70.1% 0.169 304.7);
Tailwind
colors: {
  custom: {
    50: '#cfa6f7',
    500: '#b780f2',
    950: '#000000',
  },
}
SCSS
$custom: #b780f2;
$custom-light: #cfa6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b780f2",
  "rgb": {
    "r": 183,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 268.947,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70104,
    "c": 0.16867,
    "h": 304.7
  },
  "luminance": 0.31916
}

Semantic roles & 50–950 ramp

primary
#B780F2
secondary
#E6F4D7
accent
#DE0877
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B780F2

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

Preview Lab → · Contrast checker → · Palette generator →

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