#B343D8#B343D8

#B343D8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.228 H 316.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B343D8
RGBrgb(179, 67, 216)
HSLhsl(285, 66%, 55%)
HSVhsv(285, 69%, 85%)
CMYKcmyk(17.1%, 69%, 0%, 15.3%)
CIE-LABlab(50.17, 66.19, -55.86)
CIE-LCHlch(50.17, 86.61, 319.84°)
OKLaboklab(59.94% 0.1652 -0.157)
OKLCHoklch(59.94% 0.228 316.5)
XYZxyz(32.9903, 18.5572, 66.7965)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B343D8 #68D843
analogous
#6943D8 #B343D8 #D843B2
triadic
#B343D8 #D8B343 #43D8B3
tetradic
#B343D8 #D86943 #68D843 #43B2D8
square
#B343D8 #D86943 #68D843 #43B2D8
split-complementary
#B343D8 #B2D843 #43D869
monochromatic
#6B1C85 #9426B8 #B343D8 #C776E3 #DCA8ED

Accessibility & contrast

On white

4.46
#B343D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B343D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B343D8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B343D8#FFFFFF#000000##000000
##B343D81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#447BD5
Tritanopia (blue-blind)
#B16189
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b343d8;
/* rgb */ color: rgb(179, 67, 216);
/* oklch */ color: oklch(59.9% 0.228 316.5);
Tailwind
colors: {
  custom: {
    50: '#ce80e5',
    500: '#b343d8',
    950: '#000000',
  },
}
SCSS
$custom: #b343d8;
$custom-light: #ce80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b343d8",
  "rgb": {
    "r": 179,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 285.101,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.22792,
    "h": 316.5
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#B343D8
secondary
#ACDA9C
accent
#E93F69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B343D8

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

Preview Lab → · Contrast checker → · Palette generator →

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