#B34BE4#B34BE4

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

Color values

HEX#B34BE4
RGBrgb(179, 75, 228)
HSLhsl(281, 74%, 59%)
HSVhsv(281, 67%, 89%)
CMYKcmyk(21.5%, 67.1%, 0%, 10.6%)
CIE-LABlab(52.08, 65.29, -59.59)
CIE-LCHlch(52.08, 88.39, 317.61°)
OKLaboklab(61.55% 0.156 -0.168)
OKLCHoklch(61.55% 0.229 312.9)
XYZxyz(35.1076, 20.2183, 75.4369)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34BE4 #7CE44B
analogous
#674BE4 #B34BE4 #E44BC9
triadic
#B34BE4 #E4B34B #4BE4B3
tetradic
#B34BE4 #E4674B #7CE44B #4BC9E4
square
#B34BE4 #E4674B #7CE44B #4BC9E4
split-complementary
#B34BE4 #C9E44B #4BE467
monochromatic
#72189D #9920D2 #B34BE4 #C980EC #E0B5F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34BE4#FFFFFF#000000##000000
##B34BE41.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)
#0077E9
Deuteranopia (green-blind)
#3F7EE1
Tritanopia (blue-blind)
#AE6A92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34be4;
/* rgb */ color: rgb(179, 75, 228);
/* oklch */ color: oklch(61.6% 0.229 312.9);
Tailwind
colors: {
  custom: {
    50: '#ce85ed',
    500: '#b34be4',
    950: '#000000',
  },
}
SCSS
$custom: #b34be4;
$custom-light: #ce85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b34be4",
  "rgb": {
    "r": 179,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 280.784,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.22923,
    "h": 312.9
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#B34BE4
secondary
#BBE3A8
accent
#F13773
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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