#B341D9#B341D9

#B341D9 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.231 H 316.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B341D9
RGBrgb(179, 65, 217)
HSLhsl(285, 67%, 55%)
HSVhsv(285, 70%, 85%)
CMYKcmyk(17.5%, 70%, 0%, 14.9%)
CIE-LABlab(49.95, 67.17, -56.78)
CIE-LCHlch(49.95, 87.96, 319.79°)
OKLaboklab(59.81% 0.1672 -0.1597)
OKLCHoklch(59.81% 0.231 316.3)
XYZxyz(33.0032, 18.3754, 67.4405)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341D9 #67D941
analogous
#6741D9 #B341D9 #D941B3
triadic
#B341D9 #D9B341 #41D9B3
tetradic
#B341D9 #D96741 #67D941 #41B3D9
square
#B341D9 #D96741 #67D941 #41B3D9
split-complementary
#B341D9 #B3D941 #41D967
monochromatic
#6A1B85 #9325B8 #B341D9 #C774E3 #DCA7ED

Accessibility & contrast

On white

4.49
#B341D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#B341D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B341D9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341D9#FFFFFF#000000##000000
##B341D91.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#417AD6
Tritanopia (blue-blind)
#B16089
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b341d9;
/* rgb */ color: rgb(179, 65, 217);
/* oklch */ color: oklch(59.8% 0.231 316.3);
Tailwind
colors: {
  custom: {
    50: '#ce7fe5',
    500: '#b341d9',
    950: '#000000',
  },
}
SCSS
$custom: #b341d9;
$custom-light: #ce7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b341d9",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59807,
    "c": 0.23117,
    "h": 316.3
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

primary
#B341D9
secondary
#ABDB9B
accent
#EA3E69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B341D9

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

Preview Lab → · Contrast checker → · Palette generator →

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