#B34DDF#B34DDF

#B34DDF is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.222 H 314.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B34DDF
RGBrgb(179, 77, 223)
HSLhsl(282, 70%, 59%)
HSVhsv(282, 65%, 87%)
CMYKcmyk(19.7%, 65.5%, 0%, 12.5%)
CIE-LABlab(52.09, 63.41, -56.76)
CIE-LCHlch(52.09, 85.10, 318.17°)
OKLaboklab(61.46% 0.1541 -0.1597)
OKLCHoklch(61.46% 0.222 314)
XYZxyz(34.5613, 20.2203, 71.8800)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34DDF #79DF4D
analogous
#6A4DDF #B34DDF #DF4DC2
triadic
#B34DDF #DFB34D #4DDFB3
tetradic
#B34DDF #DF6A4D #79DF4D #4DC2DF
square
#B34DDF #DF6A4D #79DF4D #4DC2DF
split-complementary
#B34DDF #C2DF4D #4DDF6A
monochromatic
#711B97 #9824CA #B34DDF #C981E8 #DFB5F2

Accessibility & contrast

On white

4.16
#B34DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B34DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34DDF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34DDF#FFFFFF#000000##000000
##B34DDF1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#467FDC
Tritanopia (blue-blind)
#AF6990
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34ddf;
/* rgb */ color: rgb(179, 77, 223);
/* oklch */ color: oklch(61.5% 0.222 314.0);
Tailwind
colors: {
  custom: {
    50: '#ce86ea',
    500: '#b34ddf',
    950: '#000000',
  },
}
SCSS
$custom: #b34ddf;
$custom-light: #ce86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ddf",
  "rgb": {
    "r": 179,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 281.918,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61455,
    "c": 0.22194,
    "h": 314
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#B34DDF
secondary
#B8E1A7
accent
#EC3B71
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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