#B343CA#B343CA

#B343CA is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.215 H 320.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B343CA
RGBrgb(179, 67, 202)
HSLhsl(290, 56%, 53%)
HSVhsv(290, 67%, 79%)
CMYKcmyk(11.4%, 66.8%, 0%, 20.8%)
CIE-LABlab(49.33, 63.52, -49.18)
CIE-LCHlch(49.33, 80.34, 322.26°)
OKLaboklab(59.08% 0.1659 -0.1374)
OKLCHoklch(59.08% 0.215 320.4)
XYZxyz(31.2569, 17.8638, 57.6673)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343CA #5ACA43
analogous
#7043CA #B343CA #CA439D
triadic
#B343CA #CAB343 #43CAB3
tetradic
#B343CA #CA7043 #5ACA43 #439DCA
square
#B343CA #CA7043 #5ACA43 #439DCA
split-complementary
#B343CA #9DCA43 #43CA70
monochromatic
#642072 #8E2EA2 #B343CA #C673D7 #DAA2E5

Accessibility & contrast

On white

4.59
#B343CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B343CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B343CA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B343CA#FFFFFF#000000##FFFFFF
##B343CA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136DCE
Deuteranopia (green-blind)
#5079C7
Tritanopia (blue-blind)
#B45B81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b343ca;
/* rgb */ color: rgb(179, 67, 202);
/* oklch */ color: oklch(59.1% 0.215 320.4);
Tailwind
colors: {
  custom: {
    50: '#cd80db',
    500: '#b343ca',
    950: '#000000',
  },
}
SCSS
$custom: #b343ca;
$custom-light: #cd80db;
$custom-dark: #000000;
JSON
{
  "hex": "#b343ca",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 289.778,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.21544,
    "h": 320.4
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#B343CA
secondary
#A1D297
accent
#DF4862
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B343CA

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

Preview Lab → · Contrast checker → · Palette generator →

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