#B438A2#B438A2

#B438A2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.9% C 0.197 H 334.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B438A2
RGBrgb(180, 56, 162)
HSLhsl(309, 53%, 46%)
HSVhsv(309, 69%, 71%)
CMYKcmyk(0%, 68.9%, 10%, 29.4%)
CIE-LABlab(45.83, 61.20, -31.30)
CIE-LCHlch(45.83, 68.74, 332.92°)
OKLaboklab(55.89% 0.1776 -0.0855)
OKLCHoklch(55.89% 0.197 334.3)
XYZxyz(26.7584, 15.1425, 35.6889)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438A2 #38B44A
analogous
#8838B4 #B438A2 #B43864
triadic
#B438A2 #A2B438 #38A2B4
tetradic
#B438A2 #B48838 #38B44A #3864B4
square
#B438A2 #B48838 #38B44A #3864B4
split-complementary
#B438A2 #64B438 #38B488
monochromatic
#571B4E #852978 #B438A2 #CD5DBC #DB8BCF

Accessibility & contrast

On white

5.21
#B438A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B438A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438A2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438A2#FFFFFF#000000##FFFFFF
##B438A21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#BC4268
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b438a2;
/* rgb */ color: rgb(180, 56, 162);
/* oklch */ color: oklch(55.9% 0.197 334.3);
Tailwind
colors: {
  custom: {
    50: '#ce79be',
    500: '#b438a2',
    950: '#000000',
  },
}
SCSS
$custom: #b438a2;
$custom-light: #ce79be;
$custom-dark: #000000;
JSON
{
  "hex": "#b438a2",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 308.71,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55892,
    "c": 0.19715,
    "h": 334.3
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#B438A2
secondary
#82C58C
accent
#DC614C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B438A2

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

Preview Lab → · Contrast checker → · Palette generator →

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