#B34CDF#B34CDF

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

Color values

HEX#B34CDF
RGBrgb(179, 76, 223)
HSLhsl(282, 70%, 59%)
HSVhsv(282, 66%, 87%)
CMYKcmyk(19.7%, 65.9%, 0%, 12.5%)
CIE-LABlab(51.93, 63.84, -57.01)
CIE-LCHlch(51.93, 85.59, 318.24°)
OKLaboklab(61.34% 0.1552 -0.1604)
OKLCHoklch(61.34% 0.223 314.1)
XYZxyz(34.4919, 20.0814, 71.8569)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CDF #78DF4C
analogous
#694CDF #B34CDF #DF4CC1
triadic
#B34CDF #DFB34C #4CDFB3
tetradic
#B34CDF #DF694C #78DF4C #4CC1DF
square
#B34CDF #DF694C #78DF4C #4CC1DF
split-complementary
#B34CDF #C1DF4C #4CDF69
monochromatic
#711B96 #9824CA #B34CDF #C980E8 #DFB4F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34CDF#FFFFFF#000000##000000
##B34CDF1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#457EDC
Tritanopia (blue-blind)
#AF698F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34cdf;
/* rgb */ color: rgb(179, 76, 223);
/* oklch */ color: oklch(61.3% 0.223 314.1);
Tailwind
colors: {
  custom: {
    50: '#ce85ea',
    500: '#b34cdf',
    950: '#000000',
  },
}
SCSS
$custom: #b34cdf;
$custom-light: #ce85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cdf",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 282.041,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61343,
    "c": 0.22323,
    "h": 314.1
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

primary
#B34CDF
secondary
#B8E0A6
accent
#EC3B70
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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