#B751F6#B751F6

#B751F6 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.9% C 0.240 H 309.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B751F6
RGBrgb(183, 81, 246)
HSLhsl(277, 90%, 64%)
HSVhsv(277, 67%, 96%)
CMYKcmyk(25.6%, 67.1%, 0%, 3.5%)
CIE-LABlab(54.66, 67.28, -65.50)
CIE-LCHlch(54.66, 93.89, 315.77°)
OKLaboklab(63.87% 0.1531 -0.1852)
OKLCHoklch(63.87% 0.24 309.6)
XYZxyz(39.1021, 22.6067, 89.4746)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751F6 #90F651
analogous
#6551F6 #B751F6 #F651E3
triadic
#B751F6 #F6B751 #51F6B7
tetradic
#B751F6 #F66551 #90F651 #51E3F6
square
#B751F6 #F66551 #90F651 #51E3F6
split-complementary
#B751F6 #E3F651 #51F665
monochromatic
#7C0AC3 #9F17F3 #B751F6 #CF8BF9 #E7C5FC

Accessibility & contrast

On white

3.80
#B751F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B751F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751F6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751F6#FFFFFF#000000##000000
##B751F61.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#3484F2
Tritanopia (blue-blind)
#AE749D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b751f6;
/* rgb */ color: rgb(183, 81, 246);
/* oklch */ color: oklch(63.9% 0.240 309.6);
Tailwind
colors: {
  custom: {
    50: '#d189fa',
    500: '#b751f6',
    950: '#000000',
  },
}
SCSS
$custom: #b751f6;
$custom-light: #d189fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b751f6",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 277.091,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63873,
    "c": 0.24029,
    "h": 309.6
  },
  "luminance": 0.22606
}

Semantic roles & 50–950 ramp

primary
#B751F6
secondary
#CBEEB5
accent
#E60058
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B751F6

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

Preview Lab → · Contrast checker → · Palette generator →

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