#B34CD7#B34CD7

#B34CD7 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.8% C 0.216 H 316.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B34CD7
RGBrgb(179, 76, 215)
HSLhsl(284, 63%, 57%)
HSVhsv(284, 65%, 84%)
CMYKcmyk(16.7%, 64.7%, 0%, 15.7%)
CIE-LABlab(51.45, 62.24, -53.23)
CIE-LCHlch(51.45, 81.90, 319.46°)
OKLaboklab(60.85% 0.1556 -0.1494)
OKLCHoklch(60.85% 0.216 316.2)
XYZxyz(33.4387, 19.6601, 66.3102)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CD7 #70D74C
analogous
#6D4CD7 #B34CD7 #D74CB6
triadic
#B34CD7 #D7B34C #4CD7B3
tetradic
#B34CD7 #D76D4C #70D74C #4CB6D7
square
#B34CD7 #D76D4C #70D74C #4CB6D7
split-complementary
#B34CD7 #B6D74C #4CD76D
monochromatic
#6E1F8A #962ABC #B34CD7 #C87EE2 #DDB0ED

Accessibility & contrast

On white

4.26
#B34CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B34CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CD7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CD7#FFFFFF#000000##000000
##B34CD71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1174DB
Deuteranopia (green-blind)
#4C7ED4
Tritanopia (blue-blind)
#B1668B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b34cd7;
/* rgb */ color: rgb(179, 76, 215);
/* oklch */ color: oklch(60.8% 0.216 316.2);
Tailwind
colors: {
  custom: {
    50: '#cd85e4',
    500: '#b34cd7',
    950: '#000000',
  },
}
SCSS
$custom: #b34cd7;
$custom-light: #cd85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cd7",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 284.46,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60845,
    "c": 0.21567,
    "h": 316.2
  },
  "luminance": 0.19659
}

Semantic roles & 50–950 ramp

primary
#B34CD7
secondary
#B2DCA3
accent
#E6416C
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B34CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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