#B438C2#B438C2

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

Color values

HEX#B438C2
RGBrgb(180, 56, 194)
HSLhsl(294, 55%, 49%)
HSVhsv(294, 71%, 76%)
CMYKcmyk(7.2%, 71.1%, 0%, 23.9%)
CIE-LABlab(47.53, 66.49, -47.41)
CIE-LCHlch(47.53, 81.66, 324.51°)
OKLaboklab(57.67% 0.1786 -0.1322)
OKLCHoklch(57.67% 0.222 323.5)
XYZxyz(29.9733, 16.4285, 52.6207)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438C2 #46C238
analogous
#6F38C2 #B438C2 #C2388B
triadic
#B438C2 #C2B438 #38C2B4
tetradic
#B438C2 #C26F38 #46C238 #388BC2
square
#B438C2 #C26F38 #46C238 #388BC2
split-complementary
#B438C2 #8BC238 #38C26F
monochromatic
#5C1D63 #882A93 #B438C2 #C765D2 #D894E0

Accessibility & contrast

On white

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

On black

4.29
#B438C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B438C2#FFFFFF#000000##FFFFFF
##B438C21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0267C6
Deuteranopia (green-blind)
#4F76BF
Tritanopia (blue-blind)
#B7507A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b438c2;
/* rgb */ color: rgb(180, 56, 194);
/* oklch */ color: oklch(57.7% 0.222 323.5);
Tailwind
colors: {
  custom: {
    50: '#ce7ad5',
    500: '#b438c2',
    950: '#000000',
  },
}
SCSS
$custom: #b438c2;
$custom-light: #ce7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#b438c2",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 293.913,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57667,
    "c": 0.22222,
    "h": 323.5
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#B438C2
secondary
#91CB8A
accent
#DF4958
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B438C2

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

Preview Lab → · Contrast checker → · Palette generator →

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