#B451E7#B451E7

#B451E7 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.5% C 0.225 H 312.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B451E7
RGBrgb(180, 81, 231)
HSLhsl(280, 76%, 61%)
HSVhsv(280, 65%, 91%)
CMYKcmyk(22.1%, 64.9%, 0%, 9.4%)
CIE-LABlab(53.34, 63.51, -59.25)
CIE-LCHlch(53.34, 86.86, 316.99°)
OKLaboklab(62.54% 0.1505 -0.167)
OKLCHoklch(62.54% 0.225 312)
XYZxyz(36.1860, 21.3586, 77.8022)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451E7 #84E751
analogous
#6951E7 #B451E7 #E751CF
triadic
#B451E7 #E7B451 #51E7B4
tetradic
#B451E7 #E76951 #84E751 #51CFE7
square
#B451E7 #E76951 #84E751 #51CFE7
split-complementary
#B451E7 #CFE751 #51E769
monochromatic
#7617A7 #9C1EDC #B451E7 #CB87EE #E2BDF6

Accessibility & contrast

On white

3.98
#B451E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#B451E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451E7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451E7#FFFFFF#000000##000000
##B451E71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#4381E4
Tritanopia (blue-blind)
#AE6F95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b451e7;
/* rgb */ color: rgb(180, 81, 231);
/* oklch */ color: oklch(62.5% 0.225 312.0);
Tailwind
colors: {
  custom: {
    50: '#ce88ef',
    500: '#b451e7',
    950: '#000000',
  },
}
SCSS
$custom: #b451e7;
$custom-light: #ce88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b451e7",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 279.6,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62541,
    "c": 0.22481,
    "h": 312
  },
  "luminance": 0.21358
}

Semantic roles & 50–950 ramp

primary
#B451E7
secondary
#C1E6AE
accent
#D80E52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B451E7

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

Preview Lab → · Contrast checker → · Palette generator →

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