#B751CA#B751CA

#B751CA is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.2% C 0.198 H 321.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B751CA
RGBrgb(183, 81, 202)
HSLhsl(291, 53%, 55%)
HSVhsv(291, 60%, 79%)
CMYKcmyk(9.4%, 59.9%, 0%, 20.8%)
CIE-LABlab(52.08, 58.42, -44.76)
CIE-LCHlch(52.08, 73.60, 322.54°)
OKLaboklab(61.18% 0.1543 -0.1246)
OKLCHoklch(61.18% 0.198 321.1)
XYZxyz(33.1303, 20.2180, 58.0230)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751CA #64CA51
analogous
#7B51CA #B751CA #CA51A0
triadic
#B751CA #CAB751 #51CAB7
tetradic
#B751CA #CA7B51 #64CA51 #51A0CA
square
#B751CA #CA7B51 #64CA51 #51A0CA
split-complementary
#B751CA #A0CA51 #51CA7B
monochromatic
#6E257B #9734AA #B751CA #CA80D8 #DEAFE7

Accessibility & contrast

On white

4.16
#B751CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B751CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751CA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751CA#FFFFFF#000000##000000
##B751CA1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#B96486
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b751ca;
/* rgb */ color: rgb(183, 81, 202);
/* oklch */ color: oklch(61.2% 0.198 321.1);
Tailwind
colors: {
  custom: {
    50: '#cf88da',
    500: '#b751ca',
    950: '#000000',
  },
}
SCSS
$custom: #b751ca;
$custom-light: #cf88da;
$custom-dark: #000000;
JSON
{
  "hex": "#b751ca",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 290.579,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61182,
    "c": 0.19834,
    "h": 321.1
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#B751CA
secondary
#AAD5A2
accent
#DD4B62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B751CA

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

Preview Lab → · Contrast checker → · Palette generator →

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