#B434CA#B434CA

#B434CA is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.233 H 321.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B434CA
RGBrgb(180, 52, 202)
HSLhsl(291, 59%, 50%)
HSVhsv(291, 74%, 79%)
CMYKcmyk(10.9%, 74.3%, 0%, 20.8%)
CIE-LABlab(47.53, 69.27, -52.05)
CIE-LCHlch(47.53, 86.65, 323.08°)
OKLaboklab(57.82% 0.1819 -0.1457)
OKLCHoklch(57.82% 0.233 321.3)
XYZxyz(30.7099, 16.4252, 57.4185)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B434CA #4ACA34
analogous
#6934CA #B434CA #CA3495
triadic
#B434CA #CAB434 #34CAB4
tetradic
#B434CA #CA6934 #4ACA34 #3495CA
square
#B434CA #CA6934 #4ACA34 #3495CA
split-complementary
#B434CA #95CA34 #34CA69
monochromatic
#5D1B69 #892799 #B434CA #C664D7 #D895E4

Accessibility & contrast

On white

4.90
#B434CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B434CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B434CA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B434CA#FFFFFF#000000##FFFFFF
##B434CA1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#4775C7
Tritanopia (blue-blind)
#B5527D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b434ca;
/* rgb */ color: rgb(180, 52, 202);
/* oklch */ color: oklch(57.8% 0.233 321.3);
Tailwind
colors: {
  custom: {
    50: '#cf79db',
    500: '#b434ca',
    950: '#000000',
  },
}
SCSS
$custom: #b434ca;
$custom-light: #cf79db;
$custom-dark: #000000;
JSON
{
  "hex": "#b434ca",
  "rgb": {
    "r": 180,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 291.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.23305,
    "h": 321.3
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#B434CA
secondary
#95CF8B
accent
#E2465D
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B434CA

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

Preview Lab → · Contrast checker → · Palette generator →

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