#B426C7#B426C7

#B426C7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.243 H 322.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B426C7
RGBrgb(180, 38, 199)
HSLhsl(293, 68%, 46%)
HSVhsv(293, 81%, 78%)
CMYKcmyk(9.5%, 80.9%, 0%, 22%)
CIE-LABlab(45.93, 72.84, -52.88)
CIE-LCHlch(45.93, 90.01, 324.02°)
OKLaboklab(56.63% 0.1931 -0.1481)
OKLCHoklch(56.63% 0.243 322.5)
XYZxyz(29.8233, 15.2149, 55.3877)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B426C7 #39C726
analogous
#6426C7 #B426C7 #C7268A
triadic
#B426C7 #C7B426 #26C7B4
tetradic
#B426C7 #C76426 #39C726 #268AC7
square
#B426C7 #C76426 #39C726 #268AC7
split-complementary
#B426C7 #8AC726 #26C764
monochromatic
#571260 #861C94 #B426C7 #CC4DDD #DB81E7

Accessibility & contrast

On white

5.19
#B426C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B426C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B426C7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B426C7#FFFFFF#000000##FFFFFF
##B426C71.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#4272C3
Tritanopia (blue-blind)
#B64978
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b426c7;
/* rgb */ color: rgb(180, 38, 199);
/* oklch */ color: oklch(56.6% 0.243 322.5);
Tailwind
colors: {
  custom: {
    50: '#cf73d9',
    500: '#b426c7',
    950: '#000000',
  },
}
SCSS
$custom: #b426c7;
$custom-light: #cf73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b426c7",
  "rgb": {
    "r": 180,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 292.919,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56625,
    "c": 0.24337,
    "h": 322.5
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#B426C7
secondary
#83CF79
accent
#EB3D52
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140915
muted
#837B83

Preview Lab

Preview with #B426C7

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

Preview Lab → · Contrast checker → · Palette generator →

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