#B781EF#B781EF

#B781EF is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.1% C 0.163 H 305.2°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B781EF
RGBrgb(183, 129, 239)
HSLhsl(269, 77%, 72%)
HSVhsv(269, 46%, 94%)
CMYKcmyk(23.4%, 46%, 0%, 6.3%)
CIE-LABlab(63.34, 41.71, -47.76)
CIE-LCHlch(63.34, 63.41, 311.13°)
OKLaboklab(70.11% 0.0943 -0.1335)
OKLCHoklch(70.11% 0.163 305.2)
XYZxyz(42.9554, 32.0000, 85.5583)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B781EF #B9EF81
analogous
#8182EF #B781EF #EE81EF
triadic
#B781EF #EFB781 #81EFB7
tetradic
#B781EF #EF8182 #B9EF81 #81EFEE
square
#B781EF #EF8182 #B9EF81 #81EFEE
split-complementary
#B781EF #EFEE81 #82EF81
monochromatic
#791CDA #984BE8 #B781EF #D6B7F6 #EFE4FC

Accessibility & contrast

On white

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

On black

7.40
#B781EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B781EF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B781EF#FFFFFF#000000##000000
##B781EF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#719AEC
Tritanopia (blue-blind)
#AE94AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b781ef;
/* rgb */ color: rgb(183, 129, 239);
/* oklch */ color: oklch(70.1% 0.163 305.2);
Tailwind
colors: {
  custom: {
    50: '#cfa7f5',
    500: '#b781ef',
    950: '#000000',
  },
}
SCSS
$custom: #b781ef;
$custom-light: #cfa7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b781ef",
  "rgb": {
    "r": 183,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 269.455,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70107,
    "c": 0.16348,
    "h": 305.2
  },
  "luminance": 0.32
}

Semantic roles & 50–950 ramp

primary
#B781EF
secondary
#E6F3D8
accent
#DA0C75
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B781EF

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

Preview Lab → · Contrast checker → · Palette generator →

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