#B438C3#B438C3

#B438C3 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.223 H 323.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B438C3
RGBrgb(180, 56, 195)
HSLhsl(294, 55%, 49%)
HSVhsv(294, 71%, 76%)
CMYKcmyk(7.7%, 71.3%, 0%, 23.5%)
CIE-LABlab(47.59, 66.66, -47.90)
CIE-LCHlch(47.59, 82.09, 324.30°)
OKLaboklab(57.73% 0.1786 -0.1336)
OKLCHoklch(57.73% 0.223 323.2)
XYZxyz(30.0860, 16.4735, 53.2142)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438C3 #47C338
analogous
#6F38C3 #B438C3 #C3388D
triadic
#B438C3 #C3B438 #38C3B4
tetradic
#B438C3 #C36F38 #47C338 #388DC3
square
#B438C3 #C36F38 #47C338 #388DC3
split-complementary
#B438C3 #8DC338 #38C36F
monochromatic
#5C1D64 #882A93 #B438C3 #C765D3 #D895E1

Accessibility & contrast

On white

4.89
#B438C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B438C3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438C3#FFFFFF#000000##FFFFFF
##B438C31.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#4F76C0
Tritanopia (blue-blind)
#B7517A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b438c3;
/* rgb */ color: rgb(180, 56, 195);
/* oklch */ color: oklch(57.7% 0.223 323.2);
Tailwind
colors: {
  custom: {
    50: '#ce7ad6',
    500: '#b438c3',
    950: '#000000',
  },
}
SCSS
$custom: #b438c3;
$custom-light: #ce7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b438c3",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 293.525,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57728,
    "c": 0.22304,
    "h": 323.2
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

primary
#B438C3
secondary
#92CC8B
accent
#DF4959
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B438C3

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

Preview Lab → · Contrast checker → · Palette generator →

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