#B34FDD#B34FDD

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

Color values

HEX#B34FDD
RGBrgb(179, 79, 221)
HSLhsl(282, 68%, 59%)
HSVhsv(282, 64%, 87%)
CMYKcmyk(19%, 64.3%, 0%, 13.3%)
CIE-LABlab(52.28, 62.12, -55.31)
CIE-LCHlch(52.28, 83.17, 318.32°)
OKLaboklab(61.56% 0.152 -0.1555)
OKLCHoklch(61.56% 0.217 314.4)
XYZxyz(34.4354, 20.3972, 70.5157)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FDD #79DD4F
analogous
#6C4FDD #B34FDD #DD4FC0
triadic
#B34FDD #DDB34F #4FDDB3
tetradic
#B34FDD #DD6C4F #79DD4F #4FC0DD
square
#B34FDD #DD6C4F #79DD4F #4FC0DD
split-complementary
#B34FDD #C0DD4F #4FDD6C
monochromatic
#711D95 #9827C8 #B34FDD #C982E7 #DFB6F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34FDD#FFFFFF#000000##000000
##B34FDD1.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)
#0977E1
Deuteranopia (green-blind)
#4A7FDA
Tritanopia (blue-blind)
#AF6A8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b34fdd;
/* rgb */ color: rgb(179, 79, 221);
/* oklch */ color: oklch(61.6% 0.217 314.4);
Tailwind
colors: {
  custom: {
    50: '#cd87e8',
    500: '#b34fdd',
    950: '#000000',
  },
}
SCSS
$custom: #b34fdd;
$custom-light: #cd87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fdd",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 282.254,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.21741,
    "h": 314.4
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

primary
#B34FDD
secondary
#B8E0A8
accent
#EA3D71
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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