#B34DDC#B34DDC

#B34DDC is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.3% C 0.219 H 314.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B34DDC
RGBrgb(179, 77, 220)
HSLhsl(283, 67%, 58%)
HSVhsv(283, 65%, 86%)
CMYKcmyk(18.6%, 65%, 0%, 13.7%)
CIE-LABlab(51.90, 62.80, -55.35)
CIE-LCHlch(51.90, 83.71, 318.61°)
OKLaboklab(61.27% 0.1543 -0.1556)
OKLCHoklch(61.27% 0.219 314.8)
XYZxyz(34.1604, 20.0599, 69.7688)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DDC #76DC4D
analogous
#6B4DDC #B34DDC #DC4DBD
triadic
#B34DDC #DCB34D #4DDCB3
tetradic
#B34DDC #DC6B4D #76DC4D #4DBDDC
square
#B34DDC #DC6B4D #76DC4D #4DBDDC
split-complementary
#B34DDC #BDDC4D #4DDC6B
monochromatic
#701D92 #9827C5 #B34DDC #C980E6 #DFB3F0

Accessibility & contrast

On white

4.19
#B34DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B34DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DDC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DDC#FFFFFF#000000##000000
##B34DDC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#497ED9
Tritanopia (blue-blind)
#B0688E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34ddc;
/* rgb */ color: rgb(179, 77, 220);
/* oklch */ color: oklch(61.3% 0.219 314.8);
Tailwind
colors: {
  custom: {
    50: '#cd86e7',
    500: '#b34ddc',
    950: '#000000',
  },
}
SCSS
$custom: #b34ddc;
$custom-light: #cd86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ddc",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 282.797,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61268,
    "c": 0.21909,
    "h": 314.8
  },
  "luminance": 0.20059
}

Semantic roles & 50–950 ramp

primary
#B34DDC
secondary
#B6DFA6
accent
#EA3E6F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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