#B34CC8#B34CC8

#B34CC8 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.202 H 320.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B34CC8
RGBrgb(179, 76, 200)
HSLhsl(290, 53%, 54%)
HSVhsv(290, 62%, 78%)
CMYKcmyk(10.5%, 62%, 0%, 21.6%)
CIE-LABlab(50.60, 59.31, -46.01)
CIE-LCHlch(50.60, 75.06, 322.20°)
OKLaboklab(59.96% 0.1556 -0.1283)
OKLCHoklch(59.96% 0.202 320.5)
XYZxyz(31.5989, 18.9242, 56.6207)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CC8 #61C84C
analogous
#754CC8 #B34CC8 #C84C9F
triadic
#B34CC8 #C8B34C #4CC8B3
tetradic
#B34CC8 #C8754C #61C84C #4C9FC8
square
#B34CC8 #C8754C #61C84C #4C9FC8
split-complementary
#B34CC8 #9FC84C #4CC875
monochromatic
#682475 #9132A4 #B34CC8 #C77BD6 #DBAAE5

Accessibility & contrast

On white

4.39
#B34CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B34CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CC8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CC8#FFFFFF#000000##000000
##B34CC81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#B46083
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34cc8;
/* rgb */ color: rgb(179, 76, 200);
/* oklch */ color: oklch(60.0% 0.202 320.5);
Tailwind
colors: {
  custom: {
    50: '#cd84d9',
    500: '#b34cc8',
    950: '#000000',
  },
}
SCSS
$custom: #b34cc8;
$custom-light: #cd84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cc8",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 289.839,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.20169,
    "h": 320.5
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#B34CC8
secondary
#A6D29E
accent
#DC4B64
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #B34CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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