#B34CE2#B34CE2

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

Color values

HEX#B34CE2
RGBrgb(179, 76, 226)
HSLhsl(281, 72%, 59%)
HSVhsv(281, 66%, 89%)
CMYKcmyk(20.8%, 66.4%, 0%, 11.4%)
CIE-LABlab(52.11, 64.45, -58.41)
CIE-LCHlch(52.11, 86.98, 317.81°)
OKLaboklab(61.53% 0.155 -0.1645)
OKLCHoklch(61.53% 0.226 313.3)
XYZxyz(34.8999, 20.2446, 74.0059)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CE2 #7BE24C
analogous
#684CE2 #B34CE2 #E24CC6
triadic
#B34CE2 #E2B34C #4CE2B3
tetradic
#B34CE2 #E2684C #7BE24C #4CC6E2
square
#B34CE2 #E2684C #7BE24C #4CC6E2
split-complementary
#B34CE2 #C6E24C #4CE268
monochromatic
#72199B #9922CF #B34CE2 #C981EB #E0B5F3

Accessibility & contrast

On white

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

On black

5.05
#B34CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CE2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CE2#FFFFFF#000000##000000
##B34CE21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#427FDF
Tritanopia (blue-blind)
#AE6A91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34ce2;
/* rgb */ color: rgb(179, 76, 226);
/* oklch */ color: oklch(61.5% 0.226 313.3);
Tailwind
colors: {
  custom: {
    50: '#ce85ec',
    500: '#b34ce2',
    950: '#000000',
  },
}
SCSS
$custom: #b34ce2;
$custom-light: #ce85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ce2",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 281.2,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61534,
    "c": 0.22607,
    "h": 313.3
  },
  "luminance": 0.20244
}

Semantic roles & 50–950 ramp

primary
#B34CE2
secondary
#BAE2A8
accent
#EF3972
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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