#B651EB#B651EB

#B651EB is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 63.0% C 0.229 H 311.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B651EB
RGBrgb(182, 81, 235)
HSLhsl(279, 79%, 62%)
HSVhsv(279, 66%, 92%)
CMYKcmyk(22.6%, 65.5%, 0%, 7.8%)
CIE-LABlab(53.85, 64.77, -60.67)
CIE-LCHlch(53.85, 88.75, 316.87°)
OKLaboklab(63.04% 0.1527 -0.1711)
OKLCHoklch(63.04% 0.229 311.7)
XYZxyz(37.2265, 21.8290, 80.8336)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B651EB #86EB51
analogous
#6951EB #B651EB #EB51D3
triadic
#B651EB #EBB651 #51EBB6
tetradic
#B651EB #EB6951 #86EB51 #51D3EB
square
#B651EB #EB6951 #86EB51 #51D3EB
split-complementary
#B651EB #D3EB51 #51EB69
monochromatic
#7914AE #9F1AE5 #B651EB #CD88F1 #E4BFF8

Accessibility & contrast

On white

3.91
#B651EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B651EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B651EB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B651EB#FFFFFF#000000##000000
##B651EB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#4183E7
Tritanopia (blue-blind)
#B07097
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b651eb;
/* rgb */ color: rgb(182, 81, 235);
/* oklch */ color: oklch(63.0% 0.229 311.7);
Tailwind
colors: {
  custom: {
    50: '#d088f2',
    500: '#b651eb',
    950: '#000000',
  },
}
SCSS
$custom: #b651eb;
$custom-light: #d088f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b651eb",
  "rgb": {
    "r": 182,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 279.351,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63038,
    "c": 0.22935,
    "h": 311.7
  },
  "luminance": 0.21828
}

Semantic roles & 50–950 ramp

primary
#B651EB
secondary
#C3E8B0
accent
#DC0A52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B651EB

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

Preview Lab → · Contrast checker → · Palette generator →

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