#B34FDA#B34FDA

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

Color values

HEX#B34FDA
RGBrgb(179, 79, 218)
HSLhsl(283, 65%, 58%)
HSVhsv(283, 64%, 85%)
CMYKcmyk(17.9%, 63.8%, 0%, 14.5%)
CIE-LABlab(52.11, 61.51, -53.89)
CIE-LCHlch(52.11, 81.78, 318.78°)
OKLaboklab(61.38% 0.1521 -0.1513)
OKLCHoklch(61.38% 0.215 315.1)
XYZxyz(34.0393, 20.2388, 68.4295)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FDA #76DA4F
analogous
#6D4FDA #B34FDA #DA4FBC
triadic
#B34FDA #DAB34F #4FDAB3
tetradic
#B34FDA #DA6D4F #76DA4F #4FBCDA
square
#B34FDA #DA6D4F #76DA4F #4FBCDA
split-complementary
#B34FDA #BCDA4F #4FDA6D
monochromatic
#701E90 #9829C3 #B34FDA #C982E5 #DFB4EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34FDA#FFFFFF#000000##000000
##B34FDA1.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)
#1576DE
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#B0698E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34fda;
/* rgb */ color: rgb(179, 79, 218);
/* oklch */ color: oklch(61.4% 0.215 315.1);
Tailwind
colors: {
  custom: {
    50: '#cd87e6',
    500: '#b34fda',
    950: '#000000',
  },
}
SCSS
$custom: #b34fda;
$custom-light: #cd87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fda",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 283.165,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61375,
    "c": 0.21453,
    "h": 315.1
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#B34FDA
secondary
#B6DEA7
accent
#E8406F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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