#B638B3#B638B3

#B638B3 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.211 H 328.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B638B3
RGBrgb(182, 56, 179)
HSLhsl(301, 53%, 47%)
HSVhsv(301, 69%, 71%)
CMYKcmyk(0%, 69.2%, 1.6%, 28.6%)
CIE-LABlab(47.01, 64.38, -39.46)
CIE-LCHlch(47.01, 75.51, 328.50°)
OKLaboklab(57.09% 0.1809 -0.109)
OKLCHoklch(57.09% 0.211 328.9)
XYZxyz(28.8420, 16.0302, 44.2141)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638B3 #38B63B
analogous
#7A38B6 #B638B3 #B63874
triadic
#B638B3 #B3B638 #38B3B6
tetradic
#B638B3 #B67A38 #38B63B #3874B6
square
#B638B3 #B67A38 #38B63B #3874B6
split-complementary
#B638B3 #74B638 #38B67A
monochromatic
#581B57 #872A85 #B638B3 #CD5ECB #DC8DDA

Accessibility & contrast

On white

4.99
#B638B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B638B3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638B3#FFFFFF#000000##FFFFFF
##B638B31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#BC4971
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b638b3;
/* rgb */ color: rgb(182, 56, 179);
/* oklch */ color: oklch(57.1% 0.211 328.9);
Tailwind
colors: {
  custom: {
    50: '#cf7aca',
    500: '#b638b3',
    950: '#000000',
  },
}
SCSS
$custom: #b638b3;
$custom-light: #cf7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#b638b3",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 301.429,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.21117,
    "h": 328.9
  },
  "luminance": 0.16028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B638B3

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

Preview Lab → · Contrast checker → · Palette generator →

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