#B34BDF#B34BDF

#B34BDF is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.2% C 0.225 H 314.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B34BDF
RGBrgb(179, 75, 223)
HSLhsl(282, 70%, 58%)
HSVhsv(282, 66%, 87%)
CMYKcmyk(19.7%, 66.4%, 0%, 12.5%)
CIE-LABlab(51.77, 64.27, -57.26)
CIE-LCHlch(51.77, 86.08, 318.30°)
OKLaboklab(61.23% 0.1563 -0.1611)
OKLCHoklch(61.23% 0.225 314.1)
XYZxyz(34.4235, 19.9447, 71.8341)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BDF #77DF4B
analogous
#694BDF #B34BDF #DF4BC1
triadic
#B34BDF #DFB34B #4BDFB3
tetradic
#B34BDF #DF694B #77DF4B #4BC1DF
square
#B34BDF #DF694B #77DF4B #4BC1DF
split-complementary
#B34BDF #C1DF4B #4BDF69
monochromatic
#711B95 #9824C9 #B34BDF #C97FE8 #DFB3F1

Accessibility & contrast

On white

4.21
#B34BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B34BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34BDF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34BDF#FFFFFF#000000##000000
##B34BDF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#AF688F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b34bdf;
/* rgb */ color: rgb(179, 75, 223);
/* oklch */ color: oklch(61.2% 0.225 314.1);
Tailwind
colors: {
  custom: {
    50: '#ce85ea',
    500: '#b34bdf',
    950: '#000000',
  },
}
SCSS
$custom: #b34bdf;
$custom-light: #ce85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b34bdf",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 282.162,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.2245,
    "h": 314.1
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#B34BDF
secondary
#B7E0A6
accent
#ED3B70
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B34BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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