#B343B2#B343B2

#B343B2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.7% C 0.195 H 328.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B343B2
RGBrgb(179, 67, 178)
HSLhsl(301, 46%, 48%)
HSVhsv(301, 63%, 70%)
CMYKcmyk(0%, 62.6%, 0.6%, 29.8%)
CIE-LABlab(48.03, 59.21, -37.30)
CIE-LCHlch(48.03, 69.98, 327.79°)
OKLaboklab(57.71% 0.1654 -0.1029)
OKLCHoklch(57.71% 0.195 328.1)
XYZxyz(28.6331, 16.8143, 43.8482)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343B2 #43B344
analogous
#7C43B3 #B343B2 #B3437A
triadic
#B343B2 #B2B343 #43B2B3
tetradic
#B343B2 #B37C43 #43B344 #437AB3
square
#B343B2 #B37C43 #43B344 #437AB3
split-complementary
#B343B2 #7AB343 #43B37C
monochromatic
#5A2259 #863286 #B343B2 #C86BC7 #D898D8

Accessibility & contrast

On white

4.81
#B343B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B343B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B343B2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B343B2#FFFFFF#000000##FFFFFF
##B343B21.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#B85174
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b343b2;
/* rgb */ color: rgb(179, 67, 178);
/* oklch */ color: oklch(57.7% 0.195 328.1);
Tailwind
colors: {
  custom: {
    50: '#cd7fc9',
    500: '#b343b2',
    950: '#000000',
  },
}
SCSS
$custom: #b343b2;
$custom-light: #cd7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b343b2",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 300.536,
    "s": 45.528,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.19478,
    "h": 328.1
  },
  "luminance": 0.16812
}

Semantic roles & 50–950 ramp

primary
#B343B2
secondary
#8DC48E
accent
#D55453
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B343B2

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

Preview Lab → · Contrast checker → · Palette generator →

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