#B438CB#B438CB

#B438CB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.230 H 320.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B438CB
RGBrgb(180, 56, 203)
HSLhsl(291, 59%, 51%)
HSVhsv(291, 72%, 80%)
CMYKcmyk(11.3%, 72.4%, 0%, 20.4%)
CIE-LABlab(48.06, 68.09, -51.77)
CIE-LCHlch(48.06, 85.53, 322.75°)
OKLaboklab(58.22% 0.1781 -0.1449)
OKLCHoklch(58.22% 0.23 320.9)
XYZxyz(31.0148, 16.8451, 58.1061)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438CB #4FCB38
analogous
#6A38CB #B438CB #CB3899
triadic
#B438CB #CBB438 #38CBB4
tetradic
#B438CB #CB6A38 #4FCB38 #3899CB
square
#B438CB #CB6A38 #4FCB38 #3899CB
split-complementary
#B438CB #99CB38 #38CB6A
monochromatic
#601C6C #8B299D #B438CB #C669D8 #D999E4

Accessibility & contrast

On white

4.81
#B438CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B438CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438CB#FFFFFF#000000##FFFFFF
##B438CB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#4876C8
Tritanopia (blue-blind)
#B5547F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b438cb;
/* rgb */ color: rgb(180, 56, 203);
/* oklch */ color: oklch(58.2% 0.230 320.9);
Tailwind
colors: {
  custom: {
    50: '#ce7bdb',
    500: '#b438cb',
    950: '#000000',
  },
}
SCSS
$custom: #b438cb;
$custom-light: #ce7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b438cb",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 290.612,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.22965,
    "h": 320.9
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#B438CB
secondary
#99D08F
accent
#E2465E
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B438CB

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

Preview Lab → · Contrast checker → · Palette generator →

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