#B638B7#B638B7

#B638B7 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.214 H 327.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B638B7
RGBrgb(182, 56, 183)
HSLhsl(300, 53%, 47%)
HSVhsv(300, 69%, 72%)
CMYKcmyk(0.5%, 69.4%, 0%, 28.2%)
CIE-LABlab(47.23, 65.04, -41.46)
CIE-LCHlch(47.23, 77.14, 327.48°)
OKLaboklab(57.31% 0.1809 -0.1148)
OKLCHoklch(57.31% 0.214 327.6)
XYZxyz(29.2524, 16.1944, 46.3757)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638B7 #39B738
analogous
#7738B7 #B638B7 #B73878
triadic
#B638B7 #B7B638 #38B7B6
tetradic
#B638B7 #B77738 #39B738 #3878B7
square
#B638B7 #B77738 #39B738 #3878B7
split-complementary
#B638B7 #78B738 #38B777
monochromatic
#591B59 #872A88 #B638B7 #CD5ECE #DC8DDC

Accessibility & contrast

On white

4.95
#B638B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B638B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638B7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638B7#FFFFFF#000000##FFFFFF
##B638B71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BB
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#BB4B74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b638b7;
/* rgb */ color: rgb(182, 56, 183);
/* oklch */ color: oklch(57.3% 0.214 327.6);
Tailwind
colors: {
  custom: {
    50: '#cf7acd',
    500: '#b638b7',
    950: '#000000',
  },
}
SCSS
$custom: #b638b7;
$custom-light: #cf7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#b638b7",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 299.528,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.2143,
    "h": 327.6
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

primary
#B638B7
secondary
#85C784
accent
#DD4B4C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B638B7

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

Preview Lab → · Contrast checker → · Palette generator →

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