#B354EA#B354EA

#B354EA is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.0% C 0.224 H 310.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B354EA
RGBrgb(179, 84, 234)
HSLhsl(278, 78%, 62%)
HSVhsv(278, 64%, 92%)
CMYKcmyk(23.5%, 64.1%, 0%, 8.2%)
CIE-LABlab(53.88, 62.57, -60.07)
CIE-LCHlch(53.88, 86.74, 316.17°)
OKLaboklab(62.97% 0.1458 -0.1694)
OKLCHoklch(62.97% 0.224 310.7)
XYZxyz(36.6092, 21.8657, 80.1179)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B354EA #8BEA54
analogous
#6854EA #B354EA #EA54D6
triadic
#B354EA #EAB354 #54EAB3
tetradic
#B354EA #EA6854 #8BEA54 #54D6EA
square
#B354EA #EA6854 #8BEA54 #54D6EA
split-complementary
#B354EA #D6EA54 #54EA68
monochromatic
#7615AE #9B1DE3 #B354EA #CB8BF1 #E3C1F7

Accessibility & contrast

On white

3.91
#B354EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B354EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B354EA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B354EA#FFFFFF#000000##000000
##B354EA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#4282E7
Tritanopia (blue-blind)
#AC7298
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b354ea;
/* rgb */ color: rgb(179, 84, 234);
/* oklch */ color: oklch(63.0% 0.224 310.7);
Tailwind
colors: {
  custom: {
    50: '#ce8af1',
    500: '#b354ea',
    950: '#000000',
  },
}
SCSS
$custom: #b354ea;
$custom-light: #ce8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b354ea",
  "rgb": {
    "r": 179,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 278,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.22352,
    "h": 310.7
  },
  "luminance": 0.21865
}

Semantic roles & 50–950 ramp

primary
#B354EA
secondary
#C6E8B2
accent
#DA0B57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B354EA

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

Preview Lab → · Contrast checker → · Palette generator →

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