#B341CA#B341CA

#B341CA is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.218 H 320.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B341CA
RGBrgb(179, 65, 202)
HSLhsl(290, 56%, 52%)
HSVhsv(290, 68%, 79%)
CMYKcmyk(11.4%, 67.8%, 0%, 20.8%)
CIE-LABlab(49.04, 64.33, -49.63)
CIE-LCHlch(49.04, 81.25, 322.35°)
OKLaboklab(58.87% 0.168 -0.1388)
OKLCHoklch(58.87% 0.218 320.4)
XYZxyz(31.1401, 17.6301, 57.6284)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341CA #58CA41
analogous
#6E41CA #B341CA #CA419D
triadic
#B341CA #CAB341 #41CAB3
tetradic
#B341CA #CA6E41 #58CA41 #419DCA
square
#B341CA #CA6E41 #58CA41 #419DCA
split-complementary
#B341CA #9DCA41 #41CA6E
monochromatic
#632071 #8D2DA1 #B341CA #C671D7 #D9A1E5

Accessibility & contrast

On white

4.64
#B341CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B341CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B341CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341CA#FFFFFF#000000##FFFFFF
##B341CA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCE
Deuteranopia (green-blind)
#4E79C7
Tritanopia (blue-blind)
#B45981
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b341ca;
/* rgb */ color: rgb(179, 65, 202);
/* oklch */ color: oklch(58.9% 0.218 320.4);
Tailwind
colors: {
  custom: {
    50: '#cd7fdb',
    500: '#b341ca',
    950: '#000000',
  },
}
SCSS
$custom: #b341ca;
$custom-light: #cd7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b341ca",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 289.927,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5887,
    "c": 0.21794,
    "h": 320.4
  },
  "luminance": 0.17629
}

Semantic roles & 50–950 ramp

primary
#B341CA
secondary
#A0D196
accent
#E04862
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B341CA

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

Preview Lab → · Contrast checker → · Palette generator →

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