#B354EF#B354EF

#B354EF is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.3% C 0.228 H 309.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B354EF
RGBrgb(179, 84, 239)
HSLhsl(277, 83%, 63%)
HSVhsv(277, 65%, 94%)
CMYKcmyk(25.1%, 64.9%, 0%, 6.3%)
CIE-LABlab(54.19, 63.63, -62.37)
CIE-LCHlch(54.19, 89.10, 315.57°)
OKLaboklab(63.29% 0.1455 -0.1762)
OKLCHoklch(63.29% 0.228 309.5)
XYZxyz(37.3377, 22.1571, 83.9544)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B354EF #90EF54
analogous
#6554EF #B354EF #EF54DE
triadic
#B354EF #EFB354 #54EFB3
tetradic
#B354EF #EF6554 #90EF54 #54DEEF
square
#B354EF #EF6554 #90EF54 #54DEEF
split-complementary
#B354EF #DEEF54 #54EF65
monochromatic
#7711B7 #9A1CEA #B354EF #CC8CF4 #E5C4F9

Accessibility & contrast

On white

3.87
#B354EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B354EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B354EF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B354EF#FFFFFF#000000##000000
##B354EF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#3C83EB
Tritanopia (blue-blind)
#AB749B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b354ef;
/* rgb */ color: rgb(179, 84, 239);
/* oklch */ color: oklch(63.3% 0.228 309.5);
Tailwind
colors: {
  custom: {
    50: '#ce8af5',
    500: '#b354ef',
    950: '#000000',
  },
}
SCSS
$custom: #b354ef;
$custom-light: #ce8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#b354ef",
  "rgb": {
    "r": 179,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 276.774,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.22849,
    "h": 309.5
  },
  "luminance": 0.22156
}

Semantic roles & 50–950 ramp

primary
#B354EF
secondary
#C9EBB4
accent
#DF065A
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B354EF

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

Preview Lab → · Contrast checker → · Palette generator →

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