#B751E8#B751E8

#B751E8 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.0% C 0.227 H 312.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B751E8
RGBrgb(183, 81, 232)
HSLhsl(281, 77%, 61%)
HSVhsv(281, 65%, 91%)
CMYKcmyk(21.1%, 65.1%, 0%, 9%)
CIE-LABlab(53.79, 64.37, -59.07)
CIE-LCHlch(53.79, 87.36, 317.46°)
OKLaboklab(62.97% 0.1541 -0.1664)
OKLCHoklch(62.97% 0.227 312.8)
XYZxyz(37.0338, 21.7794, 78.5813)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751E8 #82E851
analogous
#6C51E8 #B751E8 #E851CE
triadic
#B751E8 #E8B751 #51E8B7
tetradic
#B751E8 #E86C51 #82E851 #51CEE8
square
#B751E8 #E86C51 #82E851 #51CEE8
split-complementary
#B751E8 #CEE851 #51E86C
monochromatic
#7916A8 #A01DDE #B751E8 #CD87EF #E4BDF6

Accessibility & contrast

On white

3.92
#B751E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#B751E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751E8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751E8#FFFFFF#000000##000000
##B751E81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#4683E5
Tritanopia (blue-blind)
#B26F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b751e8;
/* rgb */ color: rgb(183, 81, 232);
/* oklch */ color: oklch(63.0% 0.227 312.8);
Tailwind
colors: {
  custom: {
    50: '#d188f0',
    500: '#b751e8',
    950: '#000000',
  },
}
SCSS
$custom: #b751e8;
$custom-light: #d188f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b751e8",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 280.53,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62969,
    "c": 0.22679,
    "h": 312.8
  },
  "luminance": 0.21778
}

Semantic roles & 50–950 ramp

primary
#B751E8
secondary
#C0E7AE
accent
#D90D4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B751E8

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

Preview Lab → · Contrast checker → · Palette generator →

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