#B451F6#B451F6

#B451F6 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.5% C 0.239 H 308.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B451F6
RGBrgb(180, 81, 246)
HSLhsl(276, 90%, 64%)
HSVhsv(276, 67%, 96%)
CMYKcmyk(26.8%, 67.1%, 0%, 3.5%)
CIE-LABlab(54.28, 66.67, -66.13)
CIE-LCHlch(54.28, 93.91, 315.23°)
OKLaboklab(63.52% 0.1493 -0.1872)
OKLCHoklch(63.52% 0.239 308.6)
XYZxyz(38.3960, 22.2426, 89.4415)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451F6 #93F651
analogous
#6251F6 #B451F6 #F651E6
triadic
#B451F6 #F6B451 #51F6B4
tetradic
#B451F6 #F66251 #93F651 #51E6F6
square
#B451F6 #F66251 #93F651 #51E6F6
split-complementary
#B451F6 #E6F651 #51F662
monochromatic
#790AC3 #9B17F3 #B451F6 #CD8BF9 #E6C5FC

Accessibility & contrast

On white

3.85
#B451F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B451F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451F6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451F6#FFFFFF#000000##000000
##B451F61.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#2F83F2
Tritanopia (blue-blind)
#AA759D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b451f6;
/* rgb */ color: rgb(180, 81, 246);
/* oklch */ color: oklch(63.5% 0.239 308.6);
Tailwind
colors: {
  custom: {
    50: '#cf89fa',
    500: '#b451f6',
    950: '#000000',
  },
}
SCSS
$custom: #b451f6;
$custom-light: #cf89fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b451f6",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 276,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63519,
    "c": 0.23945,
    "h": 308.6
  },
  "luminance": 0.22242
}

Semantic roles & 50–950 ramp

primary
#B451F6
secondary
#CCEEB5
accent
#E6005C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B451F6

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

Preview Lab → · Contrast checker → · Palette generator →

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