#B438C4#B438C4

#B438C4 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.224 H 322.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B438C4
RGBrgb(180, 56, 196)
HSLhsl(293, 56%, 49%)
HSVhsv(293, 71%, 77%)
CMYKcmyk(8.2%, 71.4%, 0%, 23.1%)
CIE-LABlab(47.65, 66.84, -48.39)
CIE-LCHlch(47.65, 82.52, 324.10°)
OKLaboklab(57.79% 0.1785 -0.135)
OKLCHoklch(57.79% 0.224 322.9)
XYZxyz(30.1994, 16.5189, 53.8116)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438C4 #48C438
analogous
#6E38C4 #B438C4 #C4388E
triadic
#B438C4 #C4B438 #38C4B4
tetradic
#B438C4 #C46E38 #48C438 #388EC4
square
#B438C4 #C46E38 #48C438 #388EC4
split-complementary
#B438C4 #8EC438 #38C46E
monochromatic
#5D1D65 #882A94 #B438C4 #C766D3 #D896E1

Accessibility & contrast

On white

4.88
#B438C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B438C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438C4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438C4#FFFFFF#000000##FFFFFF
##B438C41.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#B7517B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b438c4;
/* rgb */ color: rgb(180, 56, 196);
/* oklch */ color: oklch(57.8% 0.224 322.9);
Tailwind
colors: {
  custom: {
    50: '#ce7ad6',
    500: '#b438c4',
    950: '#000000',
  },
}
SCSS
$custom: #b438c4;
$custom-light: #ce7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b438c4",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 293.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.22386,
    "h": 322.9
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#B438C4
secondary
#93CC8C
accent
#DF495A
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B438C4

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

Preview Lab → · Contrast checker → · Palette generator →

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