#B638BA#B638BA

#B638BA is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.217 H 326.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B638BA
RGBrgb(182, 56, 186)
HSLhsl(298, 54%, 47%)
HSVhsv(298, 70%, 73%)
CMYKcmyk(2.2%, 69.9%, 0%, 27.1%)
CIE-LABlab(47.39, 65.55, -42.96)
CIE-LCHlch(47.39, 78.37, 326.76°)
OKLaboklab(57.48% 0.181 -0.1192)
OKLCHoklch(57.48% 0.217 326.6)
XYZxyz(29.5680, 16.3206, 48.0377)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638BA #3CBA38
analogous
#7538BA #B638BA #BA387D
triadic
#B638BA #BAB638 #38BAB6
tetradic
#B638BA #BA7538 #3CBA38 #387DBA
square
#B638BA #BA7538 #3CBA38 #387DBA
split-complementary
#B638BA #7DBA38 #38BA75
monochromatic
#5A1C5C #882A8B #B638BA #CC60CF #DB8FDD

Accessibility & contrast

On white

4.93
#B638BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B638BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638BA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638BA#FFFFFF#000000##FFFFFF
##B638BA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#5676B7
Tritanopia (blue-blind)
#BB4C75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b638ba;
/* rgb */ color: rgb(182, 56, 186);
/* oklch */ color: oklch(57.5% 0.217 326.6);
Tailwind
colors: {
  custom: {
    50: '#d07acf',
    500: '#b638ba',
    950: '#000000',
  },
}
SCSS
$custom: #b638ba;
$custom-light: #d07acf;
$custom-dark: #000000;
JSON
{
  "hex": "#b638ba",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 298.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57484,
    "c": 0.21668,
    "h": 326.6
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#B638BA
secondary
#88C886
accent
#DD4B4F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B638BA

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

Preview Lab → · Contrast checker → · Palette generator →

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