#B34CDE#B34CDE

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

Color values

HEX#B34CDE
RGBrgb(179, 76, 222)
HSLhsl(282, 69%, 58%)
HSVhsv(282, 66%, 87%)
CMYKcmyk(19.4%, 65.8%, 0%, 12.9%)
CIE-LABlab(51.87, 63.64, -56.54)
CIE-LCHlch(51.87, 85.13, 318.38°)
OKLaboklab(61.28% 0.1553 -0.159)
OKLCHoklch(61.28% 0.222 314.3)
XYZxyz(34.3575, 20.0276, 71.1490)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CDE #77DE4C
analogous
#6A4CDE #B34CDE #DE4CC0
triadic
#B34CDE #DEB34C #4CDEB3
tetradic
#B34CDE #DE6A4C #77DE4C #4CC0DE
square
#B34CDE #DE6A4C #77DE4C #4CC0DE
split-complementary
#B34CDE #C0DE4C #4CDE6A
monochromatic
#711B94 #9825C8 #B34CDE #C980E8 #DFB3F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34CDE#FFFFFF#000000##000000
##B34CDE1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#467EDB
Tritanopia (blue-blind)
#AF688F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34cde;
/* rgb */ color: rgb(179, 76, 222);
/* oklch */ color: oklch(61.3% 0.222 314.3);
Tailwind
colors: {
  custom: {
    50: '#ce85e9',
    500: '#b34cde',
    950: '#000000',
  },
}
SCSS
$custom: #b34cde;
$custom-light: #ce85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cde",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 282.329,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.22228,
    "h": 314.3
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#B34CDE
secondary
#B7E0A6
accent
#EC3C70
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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