#B34DDB#B34DDB

#B34DDB is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.218 H 315.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B34DDB
RGBrgb(179, 77, 219)
HSLhsl(283, 66%, 58%)
HSVhsv(283, 65%, 86%)
CMYKcmyk(18.3%, 64.8%, 0%, 14.1%)
CIE-LABlab(51.85, 62.60, -54.87)
CIE-LCHlch(51.85, 83.25, 318.76°)
OKLaboklab(61.21% 0.1543 -0.1542)
OKLCHoklch(61.21% 0.218 315)
XYZxyz(34.0284, 20.0071, 69.0734)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DDB #75DB4D
analogous
#6C4DDB #B34DDB #DB4DBC
triadic
#B34DDB #DBB34D #4DDBB3
tetradic
#B34DDB #DB6C4D #75DB4D #4DBCDB
square
#B34DDB #DB6C4D #75DB4D #4DBCDB
split-complementary
#B34DDB #BCDB4D #4DDB6C
monochromatic
#701D90 #9727C3 #B34DDB #C980E5 #DEB3F0

Accessibility & contrast

On white

4.20
#B34DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B34DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DDB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DDB#FFFFFF#000000##000000
##B34DDB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0576DF
Deuteranopia (green-blind)
#4A7ED8
Tritanopia (blue-blind)
#B0688E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34ddb;
/* rgb */ color: rgb(179, 77, 219);
/* oklch */ color: oklch(61.2% 0.218 315.0);
Tailwind
colors: {
  custom: {
    50: '#cd85e7',
    500: '#b34ddb',
    950: '#000000',
  },
}
SCSS
$custom: #b34ddb;
$custom-light: #cd85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ddb",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 283.099,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61206,
    "c": 0.21814,
    "h": 315
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#B34DDB
secondary
#B6DEA6
accent
#E93F6F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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