#B341D5#B341D5

#B341D5 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.228 H 317.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B341D5
RGBrgb(179, 65, 213)
HSLhsl(286, 64%, 55%)
HSVhsv(286, 69%, 84%)
CMYKcmyk(16%, 69.5%, 0%, 16.5%)
CIE-LABlab(49.70, 66.40, -54.89)
CIE-LCHlch(49.70, 86.16, 320.42°)
OKLaboklab(59.55% 0.1675 -0.1542)
OKLCHoklch(59.55% 0.228 317.4)
XYZxyz(32.4892, 18.1698, 64.7336)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341D5 #63D541
analogous
#6941D5 #B341D5 #D541AD
triadic
#B341D5 #D5B341 #41D5B3
tetradic
#B341D5 #D56941 #63D541 #41ADD5
square
#B341D5 #D56941 #63D541 #41ADD5
split-complementary
#B341D5 #ADD541 #41D569
monochromatic
#691C7F #9227B2 #B341D5 #C773E0 #DBA5EB

Accessibility & contrast

On white

4.53
#B341D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B341D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B341D5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341D5#FFFFFF#000000##000000
##B341D51.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#B25E87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b341d5;
/* rgb */ color: rgb(179, 65, 213);
/* oklch */ color: oklch(59.6% 0.228 317.4);
Tailwind
colors: {
  custom: {
    50: '#ce7fe3',
    500: '#b341d5',
    950: '#000000',
  },
}
SCSS
$custom: #b341d5;
$custom-light: #ce7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#b341d5",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 286.216,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59551,
    "c": 0.22762,
    "h": 317.4
  },
  "luminance": 0.18168
}

Semantic roles & 50–950 ramp

primary
#B341D5
secondary
#A8D89A
accent
#E74167
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B341D5

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

Preview Lab → · Contrast checker → · Palette generator →

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