#B781FE#B781FE

#B781FE is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.9% C 0.182 H 301.9°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B781FE
RGBrgb(183, 129, 254)
HSLhsl(266, 98%, 75%)
HSVhsv(266, 49%, 100%)
CMYKcmyk(28%, 49.2%, 0%, 0.4%)
CIE-LABlab(64.10, 45.20, -54.81)
CIE-LCHlch(64.10, 71.05, 309.51°)
OKLaboklab(70.92% 0.096 -0.1541)
OKLCHoklch(70.92% 0.182 301.9)
XYZxyz(45.2640, 32.9235, 97.7169)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B781FE #C8FE81
analogous
#8189FE #B781FE #F581FE
triadic
#B781FE #FEB781 #81FEB7
tetradic
#B781FE #FE8189 #C8FE81 #81FEF5
square
#B781FE #FE8189 #C8FE81 #81FEF5
split-complementary
#B781FE #FEF581 #89FE81
monochromatic
#7208FD #9444FE #B781FE #DABEFE #EEE1FF

Accessibility & contrast

On white

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

On black

7.58
#B781FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B781FE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B781FE#FFFFFF#000000##000000
##B781FE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#AA98B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b781fe;
/* rgb */ color: rgb(183, 129, 254);
/* oklch */ color: oklch(70.9% 0.182 301.9);
Tailwind
colors: {
  custom: {
    50: '#cfa7ff',
    500: '#b781fe',
    950: '#000000',
  },
}
SCSS
$custom: #b781fe;
$custom-light: #cfa7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b781fe",
  "rgb": {
    "r": 183,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 265.92,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70917,
    "c": 0.18155,
    "h": 301.9
  },
  "luminance": 0.32924
}

Semantic roles & 50–950 ramp

primary
#B781FE
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B781FE

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

Preview Lab → · Contrast checker → · Palette generator →

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