#B438D9#B438D9

#B438D9 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.1% C 0.241 H 317.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B438D9
RGBrgb(180, 56, 217)
HSLhsl(286, 68%, 54%)
HSVhsv(286, 74%, 85%)
CMYKcmyk(17.1%, 74.2%, 0%, 14.9%)
CIE-LABlab(48.94, 70.66, -58.40)
CIE-LCHlch(48.94, 91.67, 320.43°)
OKLaboklab(59.12% 0.1768 -0.1643)
OKLCHoklch(59.12% 0.241 317.1)
XYZxyz(32.7591, 17.5428, 67.2927)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438D9 #5DD938
analogous
#6338D9 #B438D9 #D938AD
triadic
#B438D9 #D9B438 #38D9B4
tetradic
#B438D9 #D96338 #5DD938 #38ADD9
square
#B438D9 #D96338 #5DD938 #38ADD9
split-complementary
#B438D9 #ADD938 #38D963
monochromatic
#67187E #9122B2 #B438D9 #C76BE3 #DB9FED

Accessibility & contrast

On white

4.66
#B438D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B438D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B438D9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438D9#FFFFFF#000000##FFFFFF
##B438D91.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#3B78D5
Tritanopia (blue-blind)
#B25B87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b438d9;
/* rgb */ color: rgb(180, 56, 217);
/* oklch */ color: oklch(59.1% 0.241 317.1);
Tailwind
colors: {
  custom: {
    50: '#cf7be5',
    500: '#b438d9',
    950: '#000000',
  },
}
SCSS
$custom: #b438d9;
$custom-light: #cf7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#b438d9",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 286.211,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59117,
    "c": 0.24139,
    "h": 317.1
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#B438D9
secondary
#A4D994
accent
#EB3D65
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B438D9

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

Preview Lab → · Contrast checker → · Palette generator →

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