#B438C1#B438C1

#B438C1 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.221 H 323.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B438C1
RGBrgb(180, 56, 193)
HSLhsl(294, 55%, 49%)
HSVhsv(294, 71%, 76%)
CMYKcmyk(6.7%, 71%, 0%, 24.3%)
CIE-LABlab(47.47, 66.31, -46.92)
CIE-LCHlch(47.47, 81.24, 324.72°)
OKLaboklab(57.61% 0.1787 -0.1308)
OKLCHoklch(57.61% 0.221 323.8)
XYZxyz(29.8613, 16.3837, 52.0313)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438C1 #45C138
analogous
#7038C1 #B438C1 #C1388A
triadic
#B438C1 #C1B438 #38C1B4
tetradic
#B438C1 #C17038 #45C138 #388AC1
square
#B438C1 #C17038 #45C138 #388AC1
split-complementary
#B438C1 #8AC138 #38C170
monochromatic
#5C1C62 #882A92 #B438C1 #C864D2 #D994E0

Accessibility & contrast

On white

4.91
#B438C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B438C1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438C1#FFFFFF#000000##FFFFFF
##B438C11.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0667C5
Deuteranopia (green-blind)
#5076BE
Tritanopia (blue-blind)
#B75079
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b438c1;
/* rgb */ color: rgb(180, 56, 193);
/* oklch */ color: oklch(57.6% 0.221 323.8);
Tailwind
colors: {
  custom: {
    50: '#ce7ad4',
    500: '#b438c1',
    950: '#000000',
  },
}
SCSS
$custom: #b438c1;
$custom-light: #ce7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b438c1",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 294.307,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.2214,
    "h": 323.8
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#B438C1
secondary
#90CB8A
accent
#DE4958
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B438C1

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

Preview Lab → · Contrast checker → · Palette generator →

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