#B34FD7#B34FD7

#B34FD7 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.2% C 0.212 H 316.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B34FD7
RGBrgb(179, 79, 215)
HSLhsl(284, 63%, 58%)
HSVhsv(284, 63%, 84%)
CMYKcmyk(16.7%, 63.3%, 0%, 15.7%)
CIE-LABlab(51.93, 60.91, -52.46)
CIE-LCHlch(51.93, 80.39, 319.26°)
OKLaboklab(61.19% 0.1521 -0.1471)
OKLCHoklch(61.19% 0.212 316)
XYZxyz(33.6502, 20.0832, 66.3807)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FD7 #73D74F
analogous
#6F4FD7 #B34FD7 #D74FB7
triadic
#B34FD7 #D7B34F #4FD7B3
tetradic
#B34FD7 #D76F4F #73D74F #4FB7D7
square
#B34FD7 #D76F4F #73D74F #4FB7D7
split-complementary
#B34FD7 #B7D74F #4FD76F
monochromatic
#6F208C #972BBE #B34FD7 #C981E2 #DEB3EE

Accessibility & contrast

On white

4.19
#B34FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B34FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FD7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FD7#FFFFFF#000000##000000
##B34FD71.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C76DB
Deuteranopia (green-blind)
#4F7FD4
Tritanopia (blue-blind)
#B1688C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34fd7;
/* rgb */ color: rgb(179, 79, 215);
/* oklch */ color: oklch(61.2% 0.212 316.0);
Tailwind
colors: {
  custom: {
    50: '#cd86e4',
    500: '#b34fd7',
    950: '#000000',
  },
}
SCSS
$custom: #b34fd7;
$custom-light: #cd86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fd7",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 284.118,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61192,
    "c": 0.21165,
    "h": 316
  },
  "luminance": 0.20082
}

Semantic roles & 50–950 ramp

primary
#B34FD7
secondary
#B4DCA6
accent
#E6426D
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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