#B780EF#B780EF

#B780EF is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.165 H 305.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B780EF
RGBrgb(183, 128, 239)
HSLhsl(270, 78%, 72%)
HSVhsv(270, 46%, 94%)
CMYKcmyk(23.4%, 46.4%, 0%, 6.3%)
CIE-LABlab(63.13, 42.25, -48.10)
CIE-LCHlch(63.13, 64.03, 311.30°)
OKLaboklab(69.95% 0.0957 -0.1345)
OKLCHoklch(69.95% 0.165 305.4)
XYZxyz(42.8244, 31.7379, 85.5146)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B780EF #B8EF80
analogous
#8081EF #B780EF #EF80EF
triadic
#B780EF #EFB780 #80EFB7
tetradic
#B780EF #EF8081 #B8EF80 #80EFEF
square
#B780EF #EF8081 #B8EF80 #80EFEF
split-complementary
#B780EF #EFEF80 #81EF80
monochromatic
#791BD9 #984AE8 #B780EF #D6B6F6 #F0E4FC

Accessibility & contrast

On white

2.86
#B780EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B780EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B780EF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B780EF#FFFFFF#000000##000000
##B780EF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#AE93AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b780ef;
/* rgb */ color: rgb(183, 128, 239);
/* oklch */ color: oklch(69.9% 0.165 305.4);
Tailwind
colors: {
  custom: {
    50: '#cfa6f5',
    500: '#b780ef',
    950: '#000000',
  },
}
SCSS
$custom: #b780ef;
$custom-light: #cfa6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b780ef",
  "rgb": {
    "r": 183,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 269.73,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69945,
    "c": 0.16507,
    "h": 305.4
  },
  "luminance": 0.31738
}

Semantic roles & 50–950 ramp

primary
#B780EF
secondary
#E6F3D7
accent
#DA0C74
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B780EF

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

Preview Lab → · Contrast checker → · Palette generator →

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