#B34CE1#B34CE1

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

Color values

HEX#B34CE1
RGBrgb(179, 76, 225)
HSLhsl(281, 71%, 59%)
HSVhsv(281, 66%, 88%)
CMYKcmyk(20.4%, 66.2%, 0%, 11.8%)
CIE-LABlab(52.05, 64.25, -57.94)
CIE-LCHlch(52.05, 86.52, 317.95°)
OKLaboklab(61.47% 0.1551 -0.1632)
OKLCHoklch(61.47% 0.225 313.5)
XYZxyz(34.7631, 20.1899, 73.2854)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CE1 #7AE14C
analogous
#694CE1 #B34CE1 #E14CC4
triadic
#B34CE1 #E1B34C #4CE1B3
tetradic
#B34CE1 #E1694C #7AE14C #4CC4E1
square
#B34CE1 #E1694C #7AE14C #4CC4E1
split-complementary
#B34CE1 #C4E14C #4CE169
monochromatic
#721A99 #9922CD #B34CE1 #C980EA #E0B5F3

Accessibility & contrast

On white

4.17
#B34CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34CE1#FFFFFF#000000##000000
##B34CE11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#437FDE
Tritanopia (blue-blind)
#AE6A90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34ce1;
/* rgb */ color: rgb(179, 76, 225);
/* oklch */ color: oklch(61.5% 0.225 313.5);
Tailwind
colors: {
  custom: {
    50: '#ce85eb',
    500: '#b34ce1',
    950: '#000000',
  },
}
SCSS
$custom: #b34ce1;
$custom-light: #ce85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ce1",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 281.477,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6147,
    "c": 0.22512,
    "h": 313.5
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#B34CE1
secondary
#B9E2A7
accent
#EE3A71
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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