#B751E7#B751E7

#B751E7 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.9% C 0.226 H 313.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B751E7
RGBrgb(183, 81, 231)
HSLhsl(281, 76%, 61%)
HSVhsv(281, 65%, 91%)
CMYKcmyk(20.8%, 64.9%, 0%, 9.4%)
CIE-LABlab(53.73, 64.16, -58.60)
CIE-LCHlch(53.73, 86.89, 317.59°)
OKLaboklab(62.91% 0.1542 -0.165)
OKLCHoklch(62.91% 0.226 313.1)
XYZxyz(36.8922, 21.7227, 77.8353)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751E7 #81E751
analogous
#6C51E7 #B751E7 #E751CC
triadic
#B751E7 #E7B751 #51E7B7
tetradic
#B751E7 #E76C51 #81E751 #51CCE7
square
#B751E7 #E76C51 #81E751 #51CCE7
split-complementary
#B751E7 #CCE751 #51E76C
monochromatic
#7917A7 #A01EDC #B751E7 #CD87EE #E4BDF6

Accessibility & contrast

On white

3.93
#B751E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B751E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751E7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751E7#FFFFFF#000000##000000
##B751E71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#4783E4
Tritanopia (blue-blind)
#B26E95
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b751e7;
/* rgb */ color: rgb(183, 81, 231);
/* oklch */ color: oklch(62.9% 0.226 313.1);
Tailwind
colors: {
  custom: {
    50: '#d088ef',
    500: '#b751e7',
    950: '#000000',
  },
}
SCSS
$custom: #b751e7;
$custom-light: #d088ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b751e7",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 280.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62906,
    "c": 0.22583,
    "h": 313.1
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#B751E7
secondary
#C0E6AE
accent
#D80E4E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B751E7

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

Preview Lab → · Contrast checker → · Palette generator →

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