#B34CC7#B34CC7

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

Color values

HEX#B34CC7
RGBrgb(179, 76, 199)
HSLhsl(290, 52%, 54%)
HSVhsv(290, 62%, 78%)
CMYKcmyk(10.1%, 61.8%, 0%, 22%)
CIE-LABlab(50.54, 59.12, -45.52)
CIE-LCHlch(50.54, 74.62, 322.41°)
OKLaboklab(59.9% 0.1556 -0.1268)
OKLCHoklch(59.9% 0.201 320.8)
XYZxyz(31.4825, 18.8776, 56.0072)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CC7 #60C74C
analogous
#764CC7 #B34CC7 #C74C9E
triadic
#B34CC7 #C7B34C #4CC7B3
tetradic
#B34CC7 #C7764C #60C74C #4C9EC7
square
#B34CC7 #C7764C #60C74C #4C9EC7
split-complementary
#B34CC7 #9EC74C #4CC776
monochromatic
#672474 #9133A3 #B34CC7 #C77BD6 #DBA9E4

Accessibility & contrast

On white

4.40
#B34CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B34CC7#FFFFFF#000000##000000
##B34CC71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CB
Deuteranopia (green-blind)
#587CC4
Tritanopia (blue-blind)
#B46083
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b34cc7;
/* rgb */ color: rgb(179, 76, 199);
/* oklch */ color: oklch(59.9% 0.201 320.8);
Tailwind
colors: {
  custom: {
    50: '#cd84d8',
    500: '#b34cc7',
    950: '#000000',
  },
}
SCSS
$custom: #b34cc7;
$custom-light: #cd84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cc7",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 290.244,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59897,
    "c": 0.20076,
    "h": 320.8
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#B34CC7
secondary
#A6D29D
accent
#DC4C63
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B34CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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