#B34FE3#B34FE3

#B34FE3 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.223 H 312.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B34FE3
RGBrgb(179, 79, 227)
HSLhsl(281, 73%, 60%)
HSVhsv(281, 65%, 89%)
CMYKcmyk(21.1%, 65.2%, 0%, 11%)
CIE-LABlab(52.64, 63.35, -58.12)
CIE-LCHlch(52.64, 85.97, 317.46°)
OKLaboklab(61.93% 0.1517 -0.1637)
OKLCHoklch(61.93% 0.223 312.8)
XYZxyz(35.2491, 20.7227, 74.8012)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FE3 #7FE34F
analogous
#694FE3 #B34FE3 #E34FC9
triadic
#B34FE3 #E3B34F #4FE3B3
tetradic
#B34FE3 #E3694F #7FE34F #4FC9E3
square
#B34FE3 #E3694F #7FE34F #4FC9E3
split-complementary
#B34FE3 #C9E34F #4FE369
monochromatic
#73199E #9A22D3 #B34FE3 #CA84EB #E1B9F4

Accessibility & contrast

On white

4.08
#B34FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B34FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FE3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FE3#FFFFFF#000000##000000
##B34FE31.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#4480E0
Tritanopia (blue-blind)
#AE6C93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b34fe3;
/* rgb */ color: rgb(179, 79, 227);
/* oklch */ color: oklch(61.9% 0.223 312.8);
Tailwind
colors: {
  custom: {
    50: '#ce87ec',
    500: '#b34fe3',
    950: '#000000',
  },
}
SCSS
$custom: #b34fe3;
$custom-light: #ce87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fe3",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 280.541,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.61935,
    "c": 0.22319,
    "h": 312.8
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#B34FE3
secondary
#BDE3AA
accent
#EF3974
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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