#B351EC#B351EC

#B351EC is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.7% C 0.229 H 310.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B351EC
RGBrgb(179, 81, 236)
HSLhsl(278, 80%, 62%)
HSVhsv(278, 66%, 93%)
CMYKcmyk(24.2%, 65.7%, 0%, 7.5%)
CIE-LABlab(53.52, 64.34, -61.78)
CIE-LCHlch(53.52, 89.20, 316.16°)
OKLaboklab(62.74% 0.1489 -0.1744)
OKLCHoklch(62.74% 0.229 310.5)
XYZxyz(36.6703, 21.5255, 81.5637)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351EC #8AEC51
analogous
#6551EC #B351EC #EC51D8
triadic
#B351EC #ECB351 #51ECB3
tetradic
#B351EC #EC6551 #8AEC51 #51D8EC
square
#B351EC #EC6551 #8AEC51 #51D8EC
split-complementary
#B351EC #D8EC51 #51EC65
monochromatic
#7613AF #9B1AE6 #B351EC #CB88F2 #E3BFF8

Accessibility & contrast

On white

3.96
#B351EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B351EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351EC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351EC#FFFFFF#000000##000000
##B351EC1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#3C81E9
Tritanopia (blue-blind)
#AB7198
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b351ec;
/* rgb */ color: rgb(179, 81, 236);
/* oklch */ color: oklch(62.7% 0.229 310.5);
Tailwind
colors: {
  custom: {
    50: '#ce88f3',
    500: '#b351ec',
    950: '#000000',
  },
}
SCSS
$custom: #b351ec;
$custom-light: #ce88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b351ec",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 277.935,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.22938,
    "h": 310.5
  },
  "luminance": 0.21525
}

Semantic roles & 50–950 ramp

primary
#B351EC
secondary
#C5E9B0
accent
#DD0957
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B351EC

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

Preview Lab → · Contrast checker → · Palette generator →

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