#B34EC9#B34EC9

#B34EC9 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.200 H 320.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B34EC9
RGBrgb(179, 78, 201)
HSLhsl(289, 53%, 55%)
HSVhsv(289, 61%, 79%)
CMYKcmyk(10.9%, 61.2%, 0%, 21.2%)
CIE-LABlab(50.98, 58.61, -45.97)
CIE-LCHlch(50.98, 74.49, 321.89°)
OKLaboklab(60.25% 0.1533 -0.1282)
OKLCHoklch(60.25% 0.2 320.1)
XYZxyz(31.8561, 19.2510, 57.2848)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34EC9 #64C94E
analogous
#754EC9 #B34EC9 #C94EA2
triadic
#B34EC9 #C9B34E #4EC9B3
tetradic
#B34EC9 #C9754E #64C94E #4EA2C9
square
#B34EC9 #C9754E #64C94E #4EA2C9
split-complementary
#B34EC9 #A2C94E #4EC975
monochromatic
#692578 #9233A7 #B34EC9 #C77DD7 #DBACE6

Accessibility & contrast

On white

4.33
#B34EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B34EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34EC9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34EC9#FFFFFF#000000##000000
##B34EC91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3072CD
Deuteranopia (green-blind)
#587DC6
Tritanopia (blue-blind)
#B46284
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b34ec9;
/* rgb */ color: rgb(179, 78, 201);
/* oklch */ color: oklch(60.2% 0.200 320.1);
Tailwind
colors: {
  custom: {
    50: '#cd86da',
    500: '#b34ec9',
    950: '#000000',
  },
}
SCSS
$custom: #b34ec9;
$custom-light: #cd86da;
$custom-dark: #000000;
JSON
{
  "hex": "#b34ec9",
  "rgb": {
    "r": 179,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 289.268,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.1998,
    "h": 320.1
  },
  "luminance": 0.1925
}

Semantic roles & 50–950 ramp

primary
#B34EC9
secondary
#A9D39F
accent
#DD4B65
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B34EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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