#B34FD2#B34FD2

#B34FD2 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.9% C 0.207 H 317.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B34FD2
RGBrgb(179, 79, 210)
HSLhsl(286, 59%, 57%)
HSVhsv(286, 62%, 82%)
CMYKcmyk(14.8%, 62.4%, 0%, 17.6%)
CIE-LABlab(51.64, 59.91, -50.07)
CIE-LCHlch(51.64, 78.08, 320.11°)
OKLaboklab(60.89% 0.1522 -0.1401)
OKLCHoklch(60.89% 0.207 317.4)
XYZxyz(33.0176, 19.8301, 63.0486)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FD2 #6ED24F
analogous
#724FD2 #B34FD2 #D24FAF
triadic
#B34FD2 #D2B34F #4FD2B3
tetradic
#B34FD2 #D2724F #6ED24F #4FAFD2
square
#B34FD2 #D2724F #6ED24F #4FAFD2
split-complementary
#B34FD2 #AFD24F #4FD272
monochromatic
#6D2285 #952EB5 #B34FD2 #C880DE #DDB0EB

Accessibility & contrast

On white

4.23
#B34FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B34FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FD2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FD2#FFFFFF#000000##000000
##B34FD21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2575D6
Deuteranopia (green-blind)
#537ECF
Tritanopia (blue-blind)
#B26689
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b34fd2;
/* rgb */ color: rgb(179, 79, 210);
/* oklch */ color: oklch(60.9% 0.207 317.4);
Tailwind
colors: {
  custom: {
    50: '#cd86e0',
    500: '#b34fd2',
    950: '#000000',
  },
}
SCSS
$custom: #b34fd2;
$custom-light: #cd86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fd2",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 285.802,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60893,
    "c": 0.20688,
    "h": 317.4
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#B34FD2
secondary
#B0D9A4
accent
#E2456B
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B34FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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