#B34CD6#B34CD6

#B34CD6 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.215 H 316.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B34CD6
RGBrgb(179, 76, 214)
HSLhsl(285, 63%, 57%)
HSVhsv(285, 64%, 84%)
CMYKcmyk(16.4%, 64.5%, 0%, 16.1%)
CIE-LABlab(51.39, 62.04, -52.76)
CIE-LCHlch(51.39, 81.44, 319.62°)
OKLaboklab(60.78% 0.1556 -0.148)
OKLCHoklch(60.78% 0.215 316.4)
XYZxyz(33.3106, 19.6089, 65.6355)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CD6 #6FD64C
analogous
#6E4CD6 #B34CD6 #D64CB4
triadic
#B34CD6 #D6B34C #4CD6B3
tetradic
#B34CD6 #D66E4C #6FD64C #4CB4D6
square
#B34CD6 #D66E4C #6FD64C #4CB4D6
split-complementary
#B34CD6 #B4D64C #4CD66E
monochromatic
#6E1F88 #962BBA #B34CD6 #C87EE1 #DDB0ED

Accessibility & contrast

On white

4.27
#B34CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B34CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CD6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CD6#FFFFFF#000000##000000
##B34CD61.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1474DA
Deuteranopia (green-blind)
#4D7DD3
Tritanopia (blue-blind)
#B1658B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b34cd6;
/* rgb */ color: rgb(179, 76, 214);
/* oklch */ color: oklch(60.8% 0.215 316.4);
Tailwind
colors: {
  custom: {
    50: '#cd85e3',
    500: '#b34cd6',
    950: '#000000',
  },
}
SCSS
$custom: #b34cd6;
$custom-light: #cd85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cd6",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 284.783,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60784,
    "c": 0.21473,
    "h": 316.4
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

primary
#B34CD6
secondary
#B1DBA3
accent
#E6426C
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B34CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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