#B638C0#B638C0

#B638C0 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.221 H 324.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B638C0
RGBrgb(182, 56, 192)
HSLhsl(296, 55%, 49%)
HSVhsv(296, 71%, 75%)
CMYKcmyk(5.2%, 70.8%, 0%, 24.7%)
CIE-LABlab(47.73, 66.57, -45.92)
CIE-LCHlch(47.73, 80.87, 325.40°)
OKLaboklab(57.83% 0.1809 -0.1278)
OKLCHoklch(57.83% 0.221 324.8)
XYZxyz(30.2193, 16.5811, 51.4677)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638C0 #42C038
analogous
#7238C0 #B638C0 #C03886
triadic
#B638C0 #C0B638 #38C0B6
tetradic
#B638C0 #C07238 #42C038 #3886C0
square
#B638C0 #C07238 #42C038 #3886C0
split-complementary
#B638C0 #86C038 #38C072
monochromatic
#5C1C61 #892A91 #B638C0 #CA64D2 #DA93DF

Accessibility & contrast

On white

4.87
#B638C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B638C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638C0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638C0#FFFFFF#000000##FFFFFF
##B638C01.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C4
Deuteranopia (green-blind)
#5376BD
Tritanopia (blue-blind)
#BA4F79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b638c0;
/* rgb */ color: rgb(182, 56, 192);
/* oklch */ color: oklch(57.8% 0.221 324.8);
Tailwind
colors: {
  custom: {
    50: '#d07ad3',
    500: '#b638c0',
    950: '#000000',
  },
}
SCSS
$custom: #b638c0;
$custom-light: #d07ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b638c0",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 295.588,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57832,
    "c": 0.22149,
    "h": 324.8
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#B638C0
secondary
#8ECB89
accent
#DE4A55
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B638C0

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

Preview Lab → · Contrast checker → · Palette generator →

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