#B34CDB#B34CDB

#B34CDB is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.1% C 0.219 H 315.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B34CDB
RGBrgb(179, 76, 219)
HSLhsl(283, 67%, 58%)
HSVhsv(283, 65%, 86%)
CMYKcmyk(18.3%, 65.3%, 0%, 14.1%)
CIE-LABlab(51.69, 63.04, -55.13)
CIE-LCHlch(51.69, 83.74, 318.83°)
OKLaboklab(61.09% 0.1554 -0.1549)
OKLCHoklch(61.09% 0.219 315.1)
XYZxyz(33.9590, 19.8682, 69.0502)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CDB #74DB4C
analogous
#6B4CDB #B34CDB #DB4CBB
triadic
#B34CDB #DBB34C #4CDBB3
tetradic
#B34CDB #DB6B4C #74DB4C #4CBBDB
square
#B34CDB #DB6B4C #74DB4C #4CBBDB
split-complementary
#B34CDB #BBDB4C #4CDB6B
monochromatic
#701D90 #9727C3 #B34CDB #C97FE5 #DEB2EF

Accessibility & contrast

On white

4.22
#B34CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B34CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CDB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CDB#FFFFFF#000000##000000
##B34CDB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#497ED8
Tritanopia (blue-blind)
#B0678D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b34cdb;
/* rgb */ color: rgb(179, 76, 219);
/* oklch */ color: oklch(61.1% 0.219 315.1);
Tailwind
colors: {
  custom: {
    50: '#cd85e7',
    500: '#b34cdb',
    950: '#000000',
  },
}
SCSS
$custom: #b34cdb;
$custom-light: #cd85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cdb",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 283.217,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61092,
    "c": 0.21944,
    "h": 315.1
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#B34CDB
secondary
#B5DEA5
accent
#E93E6E
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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