#B638B4#B638B4

#B638B4 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.212 H 328.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B638B4
RGBrgb(182, 56, 180)
HSLhsl(301, 53%, 47%)
HSVhsv(301, 69%, 71%)
CMYKcmyk(0%, 69.2%, 1.1%, 28.6%)
CIE-LABlab(47.07, 64.55, -39.96)
CIE-LCHlch(47.07, 75.92, 328.24°)
OKLaboklab(57.15% 0.1809 -0.1105)
OKLCHoklch(57.15% 0.212 328.6)
XYZxyz(28.9435, 16.0708, 44.7487)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638B4 #38B63A
analogous
#7938B6 #B638B4 #B63875
triadic
#B638B4 #B4B638 #38B4B6
tetradic
#B638B4 #B67938 #38B63A #3875B6
square
#B638B4 #B67938 #38B63A #3875B6
split-complementary
#B638B4 #75B638 #38B679
monochromatic
#581B57 #872A86 #B638B4 #CD5ECC #DC8DDB

Accessibility & contrast

On white

4.98
#B638B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B638B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638B4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638B4#FFFFFF#000000##FFFFFF
##B638B41.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B8
Deuteranopia (green-blind)
#5A75B1
Tritanopia (blue-blind)
#BC4972
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b638b4;
/* rgb */ color: rgb(182, 56, 180);
/* oklch */ color: oklch(57.1% 0.212 328.6);
Tailwind
colors: {
  custom: {
    50: '#cf7acb',
    500: '#b638b4',
    950: '#000000',
  },
}
SCSS
$custom: #b638b4;
$custom-light: #cf7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#b638b4",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 300.952,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.21195,
    "h": 328.6
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#B638B4
secondary
#84C685
accent
#DC4E4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B638B4

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

Preview Lab → · Contrast checker → · Palette generator →

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