#B438CD#B438CD

#B438CD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.231 H 320.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B438CD
RGBrgb(180, 56, 205)
HSLhsl(290, 60%, 51%)
HSVhsv(290, 73%, 80%)
CMYKcmyk(12.2%, 72.7%, 0%, 19.6%)
CIE-LABlab(48.19, 68.45, -52.73)
CIE-LCHlch(48.19, 86.40, 322.39°)
OKLaboklab(58.34% 0.178 -0.1477)
OKLCHoklch(58.34% 0.231 320.3)
XYZxyz(31.2547, 16.9410, 59.3694)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438CD #51CD38
analogous
#6938CD #B438CD #CD389B
triadic
#B438CD #CDB438 #38CDB4
tetradic
#B438CD #CD6938 #51CD38 #389BCD
square
#B438CD #CD6938 #51CD38 #389BCD
split-complementary
#B438CD #9BCD38 #38CD69
monochromatic
#611C6F #8C28A0 #B438CD #C669D9 #D99AE6

Accessibility & contrast

On white

4.79
#B438CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B438CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438CD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438CD#FFFFFF#000000##FFFFFF
##B438CD1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#B55580
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b438cd;
/* rgb */ color: rgb(180, 56, 205);
/* oklch */ color: oklch(58.3% 0.231 320.3);
Tailwind
colors: {
  custom: {
    50: '#ce7bdd',
    500: '#b438cd',
    950: '#000000',
  },
}
SCSS
$custom: #b438cd;
$custom-light: #ce7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b438cd",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 289.933,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.23131,
    "h": 320.3
  },
  "luminance": 0.16939
}

Semantic roles & 50–950 ramp

primary
#B438CD
secondary
#9BD18F
accent
#E3455F
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B438CD

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

Preview Lab → · Contrast checker → · Palette generator →

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