#B438CC#B438CC

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

Color values

HEX#B438CC
RGBrgb(180, 56, 204)
HSLhsl(290, 59%, 51%)
HSVhsv(290, 73%, 80%)
CMYKcmyk(11.8%, 72.5%, 0%, 20%)
CIE-LABlab(48.12, 68.27, -52.25)
CIE-LCHlch(48.12, 85.97, 322.57°)
OKLaboklab(58.28% 0.1781 -0.1463)
OKLCHoklch(58.28% 0.23 320.6)
XYZxyz(31.1344, 16.8929, 58.7357)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438CC #50CC38
analogous
#6A38CC #B438CC #CC389A
triadic
#B438CC #CCB438 #38CCB4
tetradic
#B438CC #CC6A38 #50CC38 #389ACC
square
#B438CC #CC6A38 #50CC38 #389ACC
split-complementary
#B438CC #9ACC38 #38CC6A
monochromatic
#601C6E #8B299E #B438CC #C669D8 #D999E5

Accessibility & contrast

On white

4.80
#B438CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B438CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438CC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438CC#FFFFFF#000000##FFFFFF
##B438CC1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#B5557F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b438cc;
/* rgb */ color: rgb(180, 56, 204);
/* oklch */ color: oklch(58.3% 0.230 320.6);
Tailwind
colors: {
  custom: {
    50: '#ce7bdc',
    500: '#b438cc',
    950: '#000000',
  },
}
SCSS
$custom: #b438cc;
$custom-light: #ce7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b438cc",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 290.27,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58281,
    "c": 0.23048,
    "h": 320.6
  },
  "luminance": 0.16891
}

Semantic roles & 50–950 ramp

primary
#B438CC
secondary
#9AD18F
accent
#E2455F
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B438CC

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

Preview Lab → · Contrast checker → · Palette generator →

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