#B638B5#B638B5

#B638B5 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.213 H 328.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B638B5
RGBrgb(182, 56, 181)
HSLhsl(300, 53%, 47%)
HSVhsv(300, 69%, 71%)
CMYKcmyk(0%, 69.2%, 0.5%, 28.6%)
CIE-LABlab(47.12, 64.71, -40.46)
CIE-LCHlch(47.12, 76.32, 327.98°)
OKLaboklab(57.2% 0.1809 -0.1119)
OKLCHoklch(57.2% 0.213 328.3)
XYZxyz(29.0457, 16.1117, 45.2871)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638B5 #38B639
analogous
#7838B6 #B638B5 #B63876
triadic
#B638B5 #B5B638 #38B5B6
tetradic
#B638B5 #B67838 #38B639 #3876B6
square
#B638B5 #B67838 #38B639 #3876B6
split-complementary
#B638B5 #76B638 #38B678
monochromatic
#581B58 #872A86 #B638B5 #CD5ECD #DC8DDB

Accessibility & contrast

On white

4.97
#B638B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B638B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638B5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638B5#FFFFFF#000000##FFFFFF
##B638B51.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B9
Deuteranopia (green-blind)
#5976B2
Tritanopia (blue-blind)
#BC4A73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b638b5;
/* rgb */ color: rgb(182, 56, 181);
/* oklch */ color: oklch(57.2% 0.213 328.3);
Tailwind
colors: {
  custom: {
    50: '#cf7acb',
    500: '#b638b5',
    950: '#000000',
  },
}
SCSS
$custom: #b638b5;
$custom-light: #cf7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#b638b5",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 300.476,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57201,
    "c": 0.21274,
    "h": 328.3
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#B638B5
secondary
#84C684
accent
#DC4D4B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B638B5

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

Preview Lab → · Contrast checker → · Palette generator →

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