#B638BF#B638BF

#B638BF is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.221 H 325.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B638BF
RGBrgb(182, 56, 191)
HSLhsl(296, 55%, 48%)
HSVhsv(296, 71%, 75%)
CMYKcmyk(4.7%, 70.7%, 0%, 25.1%)
CIE-LABlab(47.67, 66.40, -45.43)
CIE-LCHlch(47.67, 80.45, 325.62°)
OKLaboklab(57.77% 0.1809 -0.1264)
OKLCHoklch(57.77% 0.221 325.1)
XYZxyz(30.1088, 16.5369, 50.8862)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638BF #41BF38
analogous
#7238BF #B638BF #BF3884
triadic
#B638BF #BFB638 #38BFB6
tetradic
#B638BF #BF7238 #41BF38 #3884BF
square
#B638BF #BF7238 #41BF38 #3884BF
split-complementary
#B638BF #84BF38 #38BF72
monochromatic
#5C1C60 #892A90 #B638BF #CA63D1 #DA92DF

Accessibility & contrast

On white

4.88
#B638BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B638BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638BF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638BF#FFFFFF#000000##FFFFFF
##B638BF1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C3
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#BA4E78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b638bf;
/* rgb */ color: rgb(182, 56, 191);
/* oklch */ color: oklch(57.8% 0.221 325.1);
Tailwind
colors: {
  custom: {
    50: '#d07ad3',
    500: '#b638bf',
    950: '#000000',
  },
}
SCSS
$custom: #b638bf;
$custom-light: #d07ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b638bf",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 296,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.22069,
    "h": 325.1
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#B638BF
secondary
#8DCA89
accent
#DE4A54
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B638BF

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

Preview Lab → · Contrast checker → · Palette generator →

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