#B438D5#B438D5

#B438D5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.9% C 0.238 H 318.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B438D5
RGBrgb(180, 56, 213)
HSLhsl(287, 65%, 53%)
HSVhsv(287, 74%, 84%)
CMYKcmyk(15.5%, 73.7%, 0%, 16.5%)
CIE-LABlab(48.68, 69.92, -56.52)
CIE-LCHlch(48.68, 89.91, 321.05°)
OKLaboklab(58.86% 0.1773 -0.1588)
OKLCHoklch(58.86% 0.238 318.1)
XYZxyz(32.2451, 17.3372, 64.5858)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438D5 #59D538
analogous
#6638D5 #B438D5 #D538A7
triadic
#B438D5 #D5B438 #38D5B4
tetradic
#B438D5 #D56638 #59D538 #38A7D5
square
#B438D5 #D56638 #59D538 #38A7D5
split-complementary
#B438D5 #A7D538 #38D566
monochromatic
#651A79 #8F24AC #B438D5 #C76BE0 #DA9DEA

Accessibility & contrast

On white

4.70
#B438D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B438D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438D5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438D5#FFFFFF#000000##FFFFFF
##B438D51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#3F77D1
Tritanopia (blue-blind)
#B35984
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b438d5;
/* rgb */ color: rgb(180, 56, 213);
/* oklch */ color: oklch(58.9% 0.238 318.1);
Tailwind
colors: {
  custom: {
    50: '#cf7be3',
    500: '#b438d5',
    950: '#000000',
  },
}
SCSS
$custom: #b438d5;
$custom-light: #cf7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#b438d5",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 287.389,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.23802,
    "h": 318.1
  },
  "luminance": 0.17336
}

Semantic roles & 50–950 ramp

primary
#B438D5
secondary
#A1D692
accent
#E84063
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A15
muted
#837C84

Preview Lab

Preview with #B438D5

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

Preview Lab → · Contrast checker → · Palette generator →

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