#B638D1#B638D1

#B638D1 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.9% C 0.235 H 319.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B638D1
RGBrgb(182, 56, 209)
HSLhsl(289, 62%, 52%)
HSVhsv(289, 73%, 82%)
CMYKcmyk(12.9%, 73.2%, 0%, 18%)
CIE-LABlab(48.73, 69.58, -54.13)
CIE-LCHlch(48.73, 88.16, 322.12°)
OKLaboklab(58.87% 0.18 -0.1518)
OKLCHoklch(58.87% 0.235 319.9)
XYZxyz(32.2128, 17.3785, 61.9669)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638D1 #53D138
analogous
#6A38D1 #B638D1 #D1389F
triadic
#B638D1 #D1B638 #38D1B6
tetradic
#B638D1 #D16A38 #53D138 #389FD1
square
#B638D1 #D16A38 #53D138 #389FD1
split-complementary
#B638D1 #9FD138 #38D16A
monochromatic
#641B74 #8F26A6 #B638D1 #C86ADC #DA9BE8

Accessibility & contrast

On white

4.69
#B638D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B638D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638D1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638D1#FFFFFF#000000##FFFFFF
##B638D11.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#4678CE
Tritanopia (blue-blind)
#B65782
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b638d1;
/* rgb */ color: rgb(182, 56, 209);
/* oklch */ color: oklch(58.9% 0.235 319.9);
Tailwind
colors: {
  custom: {
    50: '#d07be0',
    500: '#b638d1',
    950: '#000000',
  },
}
SCSS
$custom: #b638d1;
$custom-light: #d07be0;
$custom-dark: #000000;
JSON
{
  "hex": "#b638d1",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 289.412,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.23544,
    "h": 319.9
  },
  "luminance": 0.17377
}

Semantic roles & 50–950 ramp

primary
#B638D1
secondary
#9DD491
accent
#E6425F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B638D1

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

Preview Lab → · Contrast checker → · Palette generator →

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