#B434C2#B434C2

#B434C2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.227 H 323.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B434C2
RGBrgb(180, 52, 194)
HSLhsl(294, 58%, 48%)
HSVhsv(294, 73%, 76%)
CMYKcmyk(7.2%, 73.2%, 0%, 23.9%)
CIE-LABlab(47.05, 67.87, -48.19)
CIE-LCHlch(47.05, 83.23, 324.63°)
OKLaboklab(57.32% 0.1824 -0.1344)
OKLCHoklch(57.32% 0.227 323.6)
XYZxyz(29.7871, 16.0561, 52.5587)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B434C2 #42C234
analogous
#6D34C2 #B434C2 #C23489
triadic
#B434C2 #C2B434 #34C2B4
tetradic
#B434C2 #C26D34 #42C234 #3489C2
square
#B434C2 #C26D34 #42C234 #3489C2
split-complementary
#B434C2 #89C234 #34C26D
monochromatic
#5A1A61 #872792 #B434C2 #C95FD4 #D98FE1

Accessibility & contrast

On white

4.99
#B434C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B434C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B434C2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B434C2#FFFFFF#000000##FFFFFF
##B434C21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#4D75BF
Tritanopia (blue-blind)
#B74E79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b434c2;
/* rgb */ color: rgb(180, 52, 194);
/* oklch */ color: oklch(57.3% 0.227 323.6);
Tailwind
colors: {
  custom: {
    50: '#ce78d5',
    500: '#b434c2',
    950: '#000000',
  },
}
SCSS
$custom: #b434c2;
$custom-light: #ce78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b434c2",
  "rgb": {
    "r": 180,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 294.085,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.22658,
    "h": 323.6
  },
  "luminance": 0.16054
}

Semantic roles & 50–950 ramp

primary
#B434C2
secondary
#8DCC86
accent
#E14756
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B434C2

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

Preview Lab → · Contrast checker → · Palette generator →

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