#B354CB#B354CB

#B354CB is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.1% C 0.193 H 319.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B354CB
RGBrgb(179, 84, 203)
HSLhsl(288, 53%, 56%)
HSVhsv(288, 59%, 80%)
CMYKcmyk(11.8%, 58.6%, 0%, 20.4%)
CIE-LABlab(52.10, 56.22, -45.34)
CIE-LCHlch(52.10, 72.22, 321.12°)
OKLaboklab(61.1% 0.1459 -0.1264)
OKLCHoklch(61.1% 0.193 319.1)
XYZxyz(32.5388, 20.2375, 58.6806)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B354CB #6CCB54
analogous
#7854CB #B354CB #CB54A8
triadic
#B354CB #CBB354 #54CBB3
tetradic
#B354CB #CB7854 #6CCB54 #54A8CB
square
#B354CB #CB7854 #6CCB54 #54A8CB
split-complementary
#B354CB #A8CB54 #54CB78
monochromatic
#6D267E #9535AD #B354CB #C883D9 #DDB2E8

Accessibility & contrast

On white

4.16
#B354CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B354CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B354CB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B354CB#FFFFFF#000000##000000
##B354CB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#5B80C8
Tritanopia (blue-blind)
#B36788
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b354cb;
/* rgb */ color: rgb(179, 84, 203);
/* oklch */ color: oklch(61.1% 0.193 319.1);
Tailwind
colors: {
  custom: {
    50: '#cd89db',
    500: '#b354cb',
    950: '#000000',
  },
}
SCSS
$custom: #b354cb;
$custom-light: #cd89db;
$custom-dark: #000000;
JSON
{
  "hex": "#b354cb",
  "rgb": {
    "r": 179,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 287.899,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61102,
    "c": 0.19303,
    "h": 319.1
  },
  "luminance": 0.20236
}

Semantic roles & 50–950 ramp

primary
#B354CB
secondary
#AFD6A5
accent
#DD4B68
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B354CB

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

Preview Lab → · Contrast checker → · Palette generator →

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