#B751EF#B751EF

#B751EF is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.4% C 0.234 H 311.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B751EF
RGBrgb(183, 81, 239)
HSLhsl(279, 83%, 63%)
HSVhsv(279, 66%, 94%)
CMYKcmyk(23.4%, 66.1%, 0%, 6.3%)
CIE-LABlab(54.22, 65.81, -62.30)
CIE-LCHlch(54.22, 90.62, 316.57°)
OKLaboklab(63.42% 0.1537 -0.1759)
OKLCHoklch(63.42% 0.234 311.1)
XYZxyz(38.0479, 22.1850, 83.9224)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751EF #89EF51
analogous
#6851EF #B751EF #EF51D8
triadic
#B751EF #EFB751 #51EFB7
tetradic
#B751EF #EF6851 #89EF51 #51D8EF
square
#B751EF #EF6851 #89EF51 #51D8EF
split-complementary
#B751EF #D8EF51 #51EF68
monochromatic
#7B11B5 #A019EA #B751EF #CE89F4 #E5C1F9

Accessibility & contrast

On white

3.86
#B751EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B751EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751EF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751EF#FFFFFF#000000##000000
##B751EF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#3E84EB
Tritanopia (blue-blind)
#B0729A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b751ef;
/* rgb */ color: rgb(183, 81, 239);
/* oklch */ color: oklch(63.4% 0.234 311.1);
Tailwind
colors: {
  custom: {
    50: '#d189f5',
    500: '#b751ef',
    950: '#000000',
  },
}
SCSS
$custom: #b751ef;
$custom-light: #d189f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b751ef",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 278.734,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.23354,
    "h": 311.1
  },
  "luminance": 0.22184
}

Semantic roles & 50–950 ramp

primary
#B751EF
secondary
#C6EAB1
accent
#E00653
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B751EF

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

Preview Lab → · Contrast checker → · Palette generator →

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