#B751FB#B751FB

#B751FB is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 64.2% C 0.245 H 308.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B751FB
RGBrgb(183, 81, 251)
HSLhsl(276, 96%, 65%)
HSVhsv(276, 68%, 98%)
CMYKcmyk(27.1%, 67.7%, 0%, 1.6%)
CIE-LABlab(54.99, 68.34, -67.75)
CIE-LCHlch(54.99, 96.23, 315.25°)
OKLaboklab(64.21% 0.1526 -0.1919)
OKLCHoklch(64.21% 0.245 308.5)
XYZxyz(39.8799, 22.9178, 93.5708)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751FB #95FB51
analogous
#6251FB #B751FB #FB51EA
triadic
#B751FB #FBB751 #51FBB7
tetradic
#B751FB #FB6251 #95FB51 #51EAFB
square
#B751FB #FB6251 #95FB51 #51EAFB
split-complementary
#B751FB #EAFB51 #51FB62
monochromatic
#7D05CD #9E15FA #B751FB #D08DFC #E9C9FE

Accessibility & contrast

On white

3.76
#B751FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B751FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751FB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751FB#FFFFFF#000000##000000
##B751FB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#2C85F7
Tritanopia (blue-blind)
#AD76A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b751fb;
/* rgb */ color: rgb(183, 81, 251);
/* oklch */ color: oklch(64.2% 0.245 308.5);
Tailwind
colors: {
  custom: {
    50: '#d189fe',
    500: '#b751fb',
    950: '#000000',
  },
}
SCSS
$custom: #b751fb;
$custom-light: #d189fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b751fb",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 251
  },
  "hsl": {
    "h": 276,
    "s": 95.506,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64207,
    "c": 0.24512,
    "h": 308.5
  },
  "luminance": 0.22917
}

Semantic roles & 50–950 ramp

primary
#B751FB
secondary
#CEF1B7
accent
#E6005C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B751FB

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

Preview Lab → · Contrast checker → · Palette generator →

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