#B34FC8#B34FC8

#B34FC8 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.3% C 0.197 H 320.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B34FC8
RGBrgb(179, 79, 200)
HSLhsl(290, 52%, 55%)
HSVhsv(290, 61%, 78%)
CMYKcmyk(10.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(51.09, 57.96, -45.22)
CIE-LCHlch(51.09, 73.52, 322.04°)
OKLaboklab(60.31% 0.152 -0.126)
OKLCHoklch(60.31% 0.197 320.3)
XYZxyz(31.8105, 19.3473, 56.6912)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34FC8 #64C84F
analogous
#774FC8 #B34FC8 #C84FA0
triadic
#B34FC8 #C8B34F #4FC8B3
tetradic
#B34FC8 #C8774F #64C84F #4FA0C8
square
#B34FC8 #C8774F #64C84F #4FA0C8
split-complementary
#B34FC8 #A0C84F #4FC877
monochromatic
#692577 #9234A6 #B34FC8 #C77ED7 #DBACE5

Accessibility & contrast

On white

4.31
#B34FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B34FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34FC8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34FC8#FFFFFF#000000##000000
##B34FC81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#5A7DC5
Tritanopia (blue-blind)
#B46284
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b34fc8;
/* rgb */ color: rgb(179, 79, 200);
/* oklch */ color: oklch(60.3% 0.197 320.3);
Tailwind
colors: {
  custom: {
    50: '#cd86d9',
    500: '#b34fc8',
    950: '#000000',
  },
}
SCSS
$custom: #b34fc8;
$custom-light: #cd86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34fc8",
  "rgb": {
    "r": 179,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 289.587,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60312,
    "c": 0.19744,
    "h": 320.3
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#B34FC8
secondary
#A9D3A0
accent
#DC4C65
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B34FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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