#B638B2#B638B2

#B638B2 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.210 H 329.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B638B2
RGBrgb(182, 56, 178)
HSLhsl(302, 53%, 47%)
HSVhsv(302, 69%, 71%)
CMYKcmyk(0%, 69.2%, 2.2%, 28.6%)
CIE-LABlab(46.96, 64.22, -38.95)
CIE-LCHlch(46.96, 75.11, 328.76°)
OKLaboklab(57.03% 0.1808 -0.1076)
OKLCHoklch(57.03% 0.21 329.3)
XYZxyz(28.7412, 15.9899, 43.6834)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638B2 #38B63C
analogous
#7B38B6 #B638B2 #B63873
triadic
#B638B2 #B2B638 #38B2B6
tetradic
#B638B2 #B67B38 #38B63C #3873B6
square
#B638B2 #B67B38 #38B63C #3873B6
split-complementary
#B638B2 #73B638 #38B67B
monochromatic
#581B56 #872A84 #B638B2 #CD5ECA #DC8DD9

Accessibility & contrast

On white

5.00
#B638B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B638B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638B2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638B2#FFFFFF#000000##FFFFFF
##B638B21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B5
Deuteranopia (green-blind)
#5B75AF
Tritanopia (blue-blind)
#BC4971
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b638b2;
/* rgb */ color: rgb(182, 56, 178);
/* oklch */ color: oklch(57.0% 0.210 329.3);
Tailwind
colors: {
  custom: {
    50: '#cf7ac9',
    500: '#b638b2',
    950: '#000000',
  },
}
SCSS
$custom: #b638b2;
$custom-light: #cf7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#b638b2",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 301.905,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.21039,
    "h": 329.3
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#B638B2
secondary
#84C686
accent
#DC504B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B638B2

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

Preview Lab → · Contrast checker → · Palette generator →

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