#B343D2#B343D2

#B343D2 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.223 H 318.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B343D2
RGBrgb(179, 67, 210)
HSLhsl(287, 61%, 54%)
HSVhsv(287, 68%, 82%)
CMYKcmyk(14.8%, 68.1%, 0%, 17.6%)
CIE-LABlab(49.80, 65.04, -53.02)
CIE-LCHlch(49.80, 83.91, 320.81°)
OKLaboklab(59.57% 0.1656 -0.1487)
OKLCHoklch(59.57% 0.223 318.1)
XYZxyz(32.2288, 18.2526, 62.7857)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343D2 #62D243
analogous
#6C43D2 #B343D2 #D243AA
triadic
#B343D2 #D2B343 #43D2B3
tetradic
#B343D2 #D26C43 #62D243 #43AAD2
square
#B343D2 #D26C43 #62D243 #43AAD2
split-complementary
#B343D2 #AAD243 #43D26C
monochromatic
#681E7D #912AAE #B343D2 #C774DE #DBA6EA

Accessibility & contrast

On white

4.52
#B343D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B343D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B343D2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B343D2#FFFFFF#000000##000000
##B343D21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#497ACF
Tritanopia (blue-blind)
#B25E86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b343d2;
/* rgb */ color: rgb(179, 67, 210);
/* oklch */ color: oklch(59.6% 0.223 318.1);
Tailwind
colors: {
  custom: {
    50: '#ce80e0',
    500: '#b343d2',
    950: '#000000',
  },
}
SCSS
$custom: #b343d2;
$custom-light: #ce80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b343d2",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 286.993,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59565,
    "c": 0.22255,
    "h": 318.1
  },
  "luminance": 0.18251
}

Semantic roles & 50–950 ramp

primary
#B343D2
secondary
#A7D79A
accent
#E44366
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B343D2

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

Preview Lab → · Contrast checker → · Palette generator →

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