#B34FD9#B34FD9

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

Color values

HEX#B34FD9
RGBrgb(179, 79, 217)
HSLhsl(283, 64%, 58%)
HSVhsv(283, 64%, 85%)
CMYKcmyk(17.5%, 63.6%, 0%, 14.9%)
CIE-LABlab(52.05, 61.31, -53.41)
CIE-LCHlch(52.05, 81.31, 318.94°)
OKLaboklab(61.31% 0.1521 -0.1499)
OKLCHoklch(61.31% 0.214 315.4)
XYZxyz(33.9088, 20.1866, 67.7424)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FD9 #75D94F
analogous
#6E4FD9 #B34FD9 #D94FBA
triadic
#B34FD9 #D9B34F #4FD9B3
tetradic
#B34FD9 #D96E4F #75D94F #4FBAD9
square
#B34FD9 #D96E4F #75D94F #4FBAD9
split-complementary
#B34FD9 #BAD94F #4FD96E
monochromatic
#701F8F #972AC1 #B34FD9 #C981E4 #DEB4EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34FD9#FFFFFF#000000##000000
##B34FD91.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)
#1776DD
Deuteranopia (green-blind)
#4D7FD6
Tritanopia (blue-blind)
#B0698D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34fd9;
/* rgb */ color: rgb(179, 79, 217);
/* oklch */ color: oklch(61.3% 0.214 315.4);
Tailwind
colors: {
  custom: {
    50: '#cd87e5',
    500: '#b34fd9',
    950: '#000000',
  },
}
SCSS
$custom: #b34fd9;
$custom-light: #cd87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fd9",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 283.478,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61314,
    "c": 0.21357,
    "h": 315.4
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#B34FD9
secondary
#B6DDA6
accent
#E7406E
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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