#B451FB#B451FB

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

Color values

HEX#B451FB
RGBrgb(180, 81, 251)
HSLhsl(275, 96%, 65%)
HSVhsv(275, 68%, 98%)
CMYKcmyk(28.3%, 67.7%, 0%, 1.6%)
CIE-LABlab(54.61, 67.74, -68.38)
CIE-LCHlch(54.61, 96.26, 314.73°)
OKLaboklab(63.86% 0.1488 -0.1938)
OKLCHoklch(63.86% 0.244 307.5)
XYZxyz(39.1738, 22.5537, 93.5377)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451FB #98FB51
analogous
#5F51FB #B451FB #FB51ED
triadic
#B451FB #FBB451 #51FBB4
tetradic
#B451FB #FB5F51 #98FB51 #51EDFB
square
#B451FB #FB5F51 #98FB51 #51EDFB
split-complementary
#B451FB #EDFB51 #51FB5F
monochromatic
#7905CD #9A15FA #B451FB #CE8DFC #E8C9FE

Accessibility & contrast

On white

3.81
#B451FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B451FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451FB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451FB#FFFFFF#000000##000000
##B451FB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#2584F7
Tritanopia (blue-blind)
#A977A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b451fb;
/* rgb */ color: rgb(180, 81, 251);
/* oklch */ color: oklch(63.9% 0.244 307.5);
Tailwind
colors: {
  custom: {
    50: '#cf89fe',
    500: '#b451fb',
    950: '#000000',
  },
}
SCSS
$custom: #b451fb;
$custom-light: #cf89fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b451fb",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 251
  },
  "hsl": {
    "h": 274.941,
    "s": 95.506,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63856,
    "c": 0.24433,
    "h": 307.5
  },
  "luminance": 0.22553
}

Semantic roles & 50–950 ramp

primary
#B451FB
secondary
#CFF1B7
accent
#E60060
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B451FB

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

Preview Lab → · Contrast checker → · Palette generator →

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