#B751D2#B751D2

#B751D2 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.6% C 0.206 H 318.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B751D2
RGBrgb(183, 81, 210)
HSLhsl(287, 59%, 57%)
HSVhsv(287, 61%, 82%)
CMYKcmyk(12.9%, 61.4%, 0%, 17.6%)
CIE-LABlab(52.52, 59.96, -48.65)
CIE-LCHlch(52.52, 77.22, 320.95°)
OKLaboklab(61.64% 0.1546 -0.1359)
OKLCHoklch(61.64% 0.206 318.7)
XYZxyz(34.1022, 20.6067, 63.1414)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751D2 #6CD251
analogous
#7751D2 #B751D2 #D251AC
triadic
#B751D2 #D2B751 #51D2B7
tetradic
#B751D2 #D27751 #6CD251 #51ACD2
square
#B751D2 #D27751 #6CD251 #51ACD2
split-complementary
#B751D2 #ACD251 #51D277
monochromatic
#712386 #9A2FB7 #B751D2 #CB82DF #DFB2EB

Accessibility & contrast

On white

4.10
#B751D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B751D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751D2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751D2#FFFFFF#000000##000000
##B751D21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D77D6
Deuteranopia (green-blind)
#5881CF
Tritanopia (blue-blind)
#B7678A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b751d2;
/* rgb */ color: rgb(183, 81, 210);
/* oklch */ color: oklch(61.6% 0.206 318.7);
Tailwind
colors: {
  custom: {
    50: '#d088e0',
    500: '#b751d2',
    950: '#000000',
  },
}
SCSS
$custom: #b751d2;
$custom-light: #d088e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b751d2",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 287.442,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.20582,
    "h": 318.7
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#B751D2
secondary
#B0DAA5
accent
#E24666
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B751D2

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

Preview Lab → · Contrast checker → · Palette generator →

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