#B451F0#B451F0

#B451F0 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.1% C 0.234 H 309.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B451F0
RGBrgb(180, 81, 240)
HSLhsl(277, 84%, 63%)
HSVhsv(277, 66%, 94%)
CMYKcmyk(25%, 66.3%, 0%, 5.9%)
CIE-LABlab(53.90, 65.40, -63.40)
CIE-LCHlch(53.90, 91.08, 315.89°)
OKLaboklab(63.12% 0.1499 -0.1792)
OKLCHoklch(63.12% 0.234 309.9)
XYZxyz(37.4899, 21.8802, 84.6695)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451F0 #8DF051
analogous
#6451F0 #B451F0 #F051DD
triadic
#B451F0 #F0B451 #51F0B4
tetradic
#B451F0 #F06451 #8DF051 #51DDF0
square
#B451F0 #F06451 #8DF051 #51DDF0
split-complementary
#B451F0 #DDF051 #51F064
monochromatic
#7810B7 #9C19EB #B451F0 #CC89F5 #E5C2FA

Accessibility & contrast

On white

3.91
#B451F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B451F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451F0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451F0#FFFFFF#000000##000000
##B451F01.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#3882EC
Tritanopia (blue-blind)
#AC729A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b451f0;
/* rgb */ color: rgb(180, 81, 240);
/* oklch */ color: oklch(63.1% 0.234 309.9);
Tailwind
colors: {
  custom: {
    50: '#cf88f6',
    500: '#b451f0',
    950: '#000000',
  },
}
SCSS
$custom: #b451f0;
$custom-light: #cf88f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b451f0",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 277.358,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63122,
    "c": 0.23359,
    "h": 309.9
  },
  "luminance": 0.21879
}

Semantic roles & 50–950 ramp

primary
#B451F0
secondary
#C7EBB2
accent
#E10558
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B451F0

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

Preview Lab → · Contrast checker → · Palette generator →

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