#B34DDD#B34DDD

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

Color values

HEX#B34DDD
RGBrgb(179, 77, 221)
HSLhsl(283, 68%, 58%)
HSVhsv(283, 65%, 87%)
CMYKcmyk(19%, 65.2%, 0%, 13.3%)
CIE-LABlab(51.96, 63.00, -55.82)
CIE-LCHlch(51.96, 84.17, 318.46°)
OKLaboklab(61.33% 0.1542 -0.1569)
OKLCHoklch(61.33% 0.22 314.5)
XYZxyz(34.2933, 20.1130, 70.4683)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DDD #77DD4D
analogous
#6B4DDD #B34DDD #DD4DBF
triadic
#B34DDD #DDB34D #4DDDB3
tetradic
#B34DDD #DD6B4D #77DD4D #4DBFDD
square
#B34DDD #DD6B4D #77DD4D #4DBFDD
split-complementary
#B34DDD #BFDD4D #4DDD6B
monochromatic
#711C93 #9826C7 #B34DDD #C980E7 #DFB4F1

Accessibility & contrast

On white

4.18
#B34DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B34DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DDD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DDD#FFFFFF#000000##000000
##B34DDD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#AF698F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34ddd;
/* rgb */ color: rgb(179, 77, 221);
/* oklch */ color: oklch(61.3% 0.220 314.5);
Tailwind
colors: {
  custom: {
    50: '#cd86e8',
    500: '#b34ddd',
    950: '#000000',
  },
}
SCSS
$custom: #b34ddd;
$custom-light: #cd86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ddd",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 282.5,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6133,
    "c": 0.22004,
    "h": 314.5
  },
  "luminance": 0.20112
}

Semantic roles & 50–950 ramp

primary
#B34DDD
secondary
#B7DFA6
accent
#EB3D70
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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