#B751E4#B751E4

#B751E4 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.7% C 0.223 H 313.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B751E4
RGBrgb(183, 81, 228)
HSLhsl(282, 73%, 61%)
HSVhsv(282, 64%, 89%)
CMYKcmyk(19.7%, 64.5%, 0%, 10.6%)
CIE-LABlab(53.55, 63.55, -57.20)
CIE-LCHlch(53.55, 85.50, 318.01°)
OKLaboklab(62.72% 0.1543 -0.1609)
OKLCHoklch(62.72% 0.223 313.8)
XYZxyz(36.4721, 21.5547, 75.6230)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751E4 #7EE451
analogous
#6E51E4 #B751E4 #E451C7
triadic
#B751E4 #E4B751 #51E4B7
tetradic
#B751E4 #E46E51 #7EE451 #51C7E4
square
#B751E4 #E46E51 #7EE451 #51C7E4
split-complementary
#B751E4 #C7E451 #51E46E
monochromatic
#7819A2 #9F21D7 #B751E4 #CD86EC #E3BBF4

Accessibility & contrast

On white

3.95
#B751E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B751E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751E4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751E4#FFFFFF#000000##000000
##B751E41.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#4A82E1
Tritanopia (blue-blind)
#B36D94
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b751e4;
/* rgb */ color: rgb(183, 81, 228);
/* oklch */ color: oklch(62.7% 0.223 313.8);
Tailwind
colors: {
  custom: {
    50: '#d088ed',
    500: '#b751e4',
    950: '#000000',
  },
}
SCSS
$custom: #b751e4;
$custom-light: #d088ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b751e4",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 281.633,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62718,
    "c": 0.22295,
    "h": 313.8
  },
  "luminance": 0.21554
}

Semantic roles & 50–950 ramp

primary
#B751E4
secondary
#BEE4AC
accent
#D5104D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B751E4

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

Preview Lab → · Contrast checker → · Palette generator →

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