#B354F1#B354F1

#B354F1 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.4% C 0.230 H 309.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B354F1
RGBrgb(179, 84, 241)
HSLhsl(276, 85%, 64%)
HSVhsv(276, 65%, 95%)
CMYKcmyk(25.7%, 65.1%, 0%, 5.5%)
CIE-LABlab(54.32, 64.06, -63.29)
CIE-LCHlch(54.32, 90.05, 315.35°)
OKLaboklab(63.42% 0.1453 -0.1789)
OKLCHoklch(63.42% 0.23 309.1)
XYZxyz(37.6347, 22.2759, 85.5191)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B354F1 #92F154
analogous
#6454F1 #B354F1 #F154E0
triadic
#B354F1 #F1B354 #54F1B3
tetradic
#B354F1 #F16454 #92F154 #54E0F1
square
#B354F1 #F16454 #92F154 #54E0F1
split-complementary
#B354F1 #E0F154 #54F164
monochromatic
#770FBB #9A1BEC #B354F1 #CC8DF6 #E5C5FA

Accessibility & contrast

On white

3.85
#B354F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B354F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B354F1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B354F1#FFFFFF#000000##000000
##B354F11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#3983ED
Tritanopia (blue-blind)
#AA759C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b354f1;
/* rgb */ color: rgb(179, 84, 241);
/* oklch */ color: oklch(63.4% 0.230 309.1);
Tailwind
colors: {
  custom: {
    50: '#ce8af6',
    500: '#b354f1',
    950: '#000000',
  },
}
SCSS
$custom: #b354f1;
$custom-light: #ce8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#b354f1",
  "rgb": {
    "r": 179,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 276.306,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.23047,
    "h": 309.1
  },
  "luminance": 0.22275
}

Semantic roles & 50–950 ramp

primary
#B354F1
secondary
#CBECB5
accent
#E1045C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B354F1

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

Preview Lab → · Contrast checker → · Palette generator →

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