#B354EC#B354EC

#B354EC is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.1% C 0.226 H 310.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B354EC
RGBrgb(179, 84, 236)
HSLhsl(278, 80%, 63%)
HSVhsv(278, 64%, 93%)
CMYKcmyk(24.2%, 64.4%, 0%, 7.5%)
CIE-LABlab(54.01, 62.99, -60.99)
CIE-LCHlch(54.01, 87.68, 315.92°)
OKLaboklab(63.09% 0.1456 -0.1722)
OKLCHoklch(63.09% 0.226 310.2)
XYZxyz(36.8981, 21.9812, 81.6397)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B354EC #8DEC54
analogous
#6754EC #B354EC #EC54D9
triadic
#B354EC #ECB354 #54ECB3
tetradic
#B354EC #EC6754 #8DEC54 #54D9EC
square
#B354EC #EC6754 #8DEC54 #54D9EC
split-complementary
#B354EC #D9EC54 #54EC67
monochromatic
#7714B2 #9B1DE6 #B354EC #CB8BF2 #E4C2F8

Accessibility & contrast

On white

3.89
#B354EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B354EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B354EC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B354EC#FFFFFF#000000##000000
##B354EC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#AB7399
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b354ec;
/* rgb */ color: rgb(179, 84, 236);
/* oklch */ color: oklch(63.1% 0.226 310.2);
Tailwind
colors: {
  custom: {
    50: '#ce8af3',
    500: '#b354ec',
    950: '#000000',
  },
}
SCSS
$custom: #b354ec;
$custom-light: #ce8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#b354ec",
  "rgb": {
    "r": 179,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 277.5,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63093,
    "c": 0.2255,
    "h": 310.2
  },
  "luminance": 0.2198
}

Semantic roles & 50–950 ramp

primary
#B354EC
secondary
#C7E9B2
accent
#DC0958
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B354EC

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

Preview Lab → · Contrast checker → · Palette generator →

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