#B34CE5#B34CE5

#B34CE5 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.7% C 0.229 H 312.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B34CE5
RGBrgb(179, 76, 229)
HSLhsl(280, 75%, 60%)
HSVhsv(280, 67%, 90%)
CMYKcmyk(21.8%, 66.8%, 0%, 10.2%)
CIE-LABlab(52.30, 65.07, -59.81)
CIE-LCHlch(52.30, 88.38, 317.41°)
OKLaboklab(61.73% 0.1548 -0.1686)
OKLCHoklch(61.73% 0.229 312.6)
XYZxyz(35.3152, 20.4107, 76.1929)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CE5 #7EE54C
analogous
#664CE5 #B34CE5 #E54CCB
triadic
#B34CE5 #E5B34C #4CE5B3
tetradic
#B34CE5 #E5664C #7EE54C #4CCBE5
square
#B34CE5 #E5664C #7EE54C #4CCBE5
split-complementary
#B34CE5 #CBE54C #4CE566
monochromatic
#73179F #991FD5 #B34CE5 #CA81ED #E0B7F5

Accessibility & contrast

On white

4.13
#B34CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B34CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CE5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CE5#FFFFFF#000000##000000
##B34CE51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#3F7FE2
Tritanopia (blue-blind)
#AD6B93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b34ce5;
/* rgb */ color: rgb(179, 76, 229);
/* oklch */ color: oklch(61.7% 0.229 312.6);
Tailwind
colors: {
  custom: {
    50: '#ce85ee',
    500: '#b34ce5',
    950: '#000000',
  },
}
SCSS
$custom: #b34ce5;
$custom-light: #ce85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ce5",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 280.392,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61726,
    "c": 0.22892,
    "h": 312.6
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#B34CE5
secondary
#BCE4A9
accent
#F13774
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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