#B751F2#B751F2

#B751F2 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.6% C 0.236 H 310.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B751F2
RGBrgb(183, 81, 242)
HSLhsl(278, 86%, 63%)
HSVhsv(278, 67%, 95%)
CMYKcmyk(24.4%, 66.5%, 0%, 5.1%)
CIE-LABlab(54.41, 66.44, -63.67)
CIE-LCHlch(54.41, 92.02, 316.22°)
OKLaboklab(63.61% 0.1534 -0.1799)
OKLCHoklch(63.61% 0.236 310.5)
XYZxyz(38.4948, 22.3638, 86.2760)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751F2 #8CF251
analogous
#6651F2 #B751F2 #F251DD
triadic
#B751F2 #F2B751 #51F2B7
tetradic
#B751F2 #F26651 #8CF251 #51DDF2
square
#B751F2 #F26651 #8CF251 #51DDF2
split-complementary
#B751F2 #DDF251 #51F266
monochromatic
#7B0EBB #9F18EE #B751F2 #CF8AF6 #E6C3FB

Accessibility & contrast

On white

3.84
#B751F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B751F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751F2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751F2#FFFFFF#000000##000000
##B751F21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#3A84EE
Tritanopia (blue-blind)
#AF739B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b751f2;
/* rgb */ color: rgb(183, 81, 242);
/* oklch */ color: oklch(63.6% 0.236 310.5);
Tailwind
colors: {
  custom: {
    50: '#d189f7',
    500: '#b751f2',
    950: '#000000',
  },
}
SCSS
$custom: #b751f2;
$custom-light: #d189f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b751f2",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 278.012,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63611,
    "c": 0.23643,
    "h": 310.5
  },
  "luminance": 0.22363
}

Semantic roles & 50–950 ramp

primary
#B751F2
secondary
#C8ECB3
accent
#E30355
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B751F2

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

Preview Lab → · Contrast checker → · Palette generator →

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