#B351E2#B351E2

#B351E2 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.1% C 0.220 H 312.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B351E2
RGBrgb(179, 81, 226)
HSLhsl(281, 71%, 60%)
HSVhsv(281, 64%, 89%)
CMYKcmyk(20.8%, 64.2%, 0%, 11.4%)
CIE-LABlab(52.91, 62.25, -57.14)
CIE-LCHlch(52.91, 84.50, 317.45°)
OKLaboklab(62.1% 0.1495 -0.1608)
OKLCHoklch(62.1% 0.22 312.9)
XYZxyz(35.2579, 20.9605, 74.1252)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351E2 #80E251
analogous
#6B51E2 #B351E2 #E251C8
triadic
#B351E2 #E2B351 #51E2B3
tetradic
#B351E2 #E26B51 #80E251 #51C8E2
square
#B351E2 #E26B51 #80E251 #51C8E2
split-complementary
#B351E2 #C8E251 #51E26B
monochromatic
#731A9E #9A23D3 #B351E2 #CA85EB #E1BAF3

Accessibility & contrast

On white

4.04
#B351E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B351E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351E2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351E2#FFFFFF#000000##000000
##B351E21.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#4780DF
Tritanopia (blue-blind)
#AE6D93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b351e2;
/* rgb */ color: rgb(179, 81, 226);
/* oklch */ color: oklch(62.1% 0.220 312.9);
Tailwind
colors: {
  custom: {
    50: '#cd88ec',
    500: '#b351e2',
    950: '#000000',
  },
}
SCSS
$custom: #b351e2;
$custom-light: #cd88ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b351e2",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 280.552,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62104,
    "c": 0.2196,
    "h": 312.9
  },
  "luminance": 0.2096
}

Semantic roles & 50–950 ramp

primary
#B351E2
secondary
#BEE3AC
accent
#D31251
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B351E2

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

Preview Lab → · Contrast checker → · Palette generator →

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