#B438AA#B438AA

#B438AA is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.203 H 331.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B438AA
RGBrgb(180, 56, 170)
HSLhsl(305, 53%, 46%)
HSVhsv(305, 69%, 71%)
CMYKcmyk(0%, 68.9%, 5.6%, 29.4%)
CIE-LABlab(46.23, 62.45, -35.42)
CIE-LCHlch(46.23, 71.80, 330.44°)
OKLaboklab(56.31% 0.1783 -0.0974)
OKLCHoklch(56.31% 0.203 331.4)
XYZxyz(27.4922, 15.4361, 39.5539)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438AA #38B442
analogous
#8038B4 #B438AA #B4386C
triadic
#B438AA #AAB438 #38AAB4
tetradic
#B438AA #B48038 #38B442 #386CB4
square
#B438AA #B48038 #38B442 #386CB4
split-complementary
#B438AA #6CB438 #38B480
monochromatic
#571B52 #85297E #B438AA #CD5DC3 #DB8BD5

Accessibility & contrast

On white

5.14
#B438AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B438AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438AA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438AA#FFFFFF#000000##FFFFFF
##B438AA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#5D74A7
Tritanopia (blue-blind)
#BB456D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b438aa;
/* rgb */ color: rgb(180, 56, 170);
/* oklch */ color: oklch(56.3% 0.203 331.4);
Tailwind
colors: {
  custom: {
    50: '#ce79c3',
    500: '#b438aa',
    950: '#000000',
  },
}
SCSS
$custom: #b438aa;
$custom-light: #ce79c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b438aa",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 304.839,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.20316,
    "h": 331.4
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#B438AA
secondary
#82C588
accent
#DC574C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B438AA

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

Preview Lab → · Contrast checker → · Palette generator →

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