#B354E4#B354E4

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

Color values

HEX#B354E4
RGBrgb(179, 84, 228)
HSLhsl(280, 73%, 61%)
HSVhsv(280, 63%, 89%)
CMYKcmyk(21.5%, 63.2%, 0%, 10.6%)
CIE-LABlab(53.52, 61.30, -57.28)
CIE-LCHlch(53.52, 83.90, 316.94°)
OKLaboklab(62.59% 0.146 -0.1613)
OKLCHoklch(62.59% 0.218 312.2)
XYZxyz(35.7618, 21.5267, 75.6550)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B354E4 #85E454
analogous
#6B54E4 #B354E4 #E454CD
triadic
#B354E4 #E4B354 #54E4B3
tetradic
#B354E4 #E46B54 #85E454 #54CDE4
square
#B354E4 #E46B54 #85E454 #54CDE4
split-complementary
#B354E4 #CDE454 #54E46B
monochromatic
#751AA4 #9B22D9 #B354E4 #CA89EC #E2BEF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B354E4#FFFFFF#000000##000000
##B354E41.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)
#0A7BE8
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#AD7095
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b354e4;
/* rgb */ color: rgb(179, 84, 228);
/* oklch */ color: oklch(62.6% 0.218 312.2);
Tailwind
colors: {
  custom: {
    50: '#cd8aed',
    500: '#b354e4',
    950: '#000000',
  },
}
SCSS
$custom: #b354e4;
$custom-light: #cd8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#b354e4",
  "rgb": {
    "r": 179,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 279.583,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62587,
    "c": 0.21756,
    "h": 312.2
  },
  "luminance": 0.21526
}

Semantic roles & 50–950 ramp

primary
#B354E4
secondary
#C1E5AF
accent
#D51153
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B354E4

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

Preview Lab → · Contrast checker → · Palette generator →

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