#B34FDB#B34FDB

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

Color values

HEX#B34FDB
RGBrgb(179, 79, 219)
HSLhsl(283, 66%, 58%)
HSVhsv(283, 64%, 86%)
CMYKcmyk(18.3%, 63.9%, 0%, 14.1%)
CIE-LABlab(52.16, 61.71, -54.36)
CIE-LCHlch(52.16, 82.24, 318.62°)
OKLaboklab(61.44% 0.1521 -0.1527)
OKLCHoklch(61.44% 0.215 314.9)
XYZxyz(34.1705, 20.2913, 69.1207)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FDB #77DB4F
analogous
#6D4FDB #B34FDB #DB4FBD
triadic
#B34FDB #DBB34F #4FDBB3
tetradic
#B34FDB #DB6D4F #77DB4F #4FBDDB
square
#B34FDB #DB6D4F #77DB4F #4FBDDB
split-complementary
#B34FDB #BDDB4F #4FDB6D
monochromatic
#711E92 #9828C5 #B34FDB #C982E5 #DFB5F0

Accessibility & contrast

On white

4.15
#B34FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B34FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FDB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FDB#FFFFFF#000000##000000
##B34FDB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1177DF
Deuteranopia (green-blind)
#4C7FD8
Tritanopia (blue-blind)
#B0698E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b34fdb;
/* rgb */ color: rgb(179, 79, 219);
/* oklch */ color: oklch(61.4% 0.215 314.9);
Tailwind
colors: {
  custom: {
    50: '#cd87e7',
    500: '#b34fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b34fdb;
$custom-light: #cd87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fdb",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 282.857,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61436,
    "c": 0.21549,
    "h": 314.9
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#B34FDB
secondary
#B7DFA7
accent
#E93F6F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B34FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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