#B638C2#B638C2

#B638C2 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.223 H 324.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B638C2
RGBrgb(182, 56, 194)
HSLhsl(295, 55%, 49%)
HSVhsv(295, 71%, 76%)
CMYKcmyk(6.2%, 71.1%, 0%, 23.9%)
CIE-LABlab(47.84, 66.92, -46.90)
CIE-LCHlch(47.84, 81.72, 324.97°)
OKLaboklab(57.95% 0.1809 -0.1306)
OKLCHoklch(57.95% 0.223 324.2)
XYZxyz(30.4424, 16.6703, 52.6427)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638C2 #44C238
analogous
#7138C2 #B638C2 #C23889
triadic
#B638C2 #C2B638 #38C2B6
tetradic
#B638C2 #C27138 #44C238 #3889C2
square
#B638C2 #C27138 #44C238 #3889C2
split-complementary
#B638C2 #89C238 #38C271
monochromatic
#5D1D63 #892A93 #B638C2 #C965D2 #DA94E0

Accessibility & contrast

On white

4.85
#B638C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B638C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638C2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638C2#FFFFFF#000000##FFFFFF
##B638C21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0868C6
Deuteranopia (green-blind)
#5177BF
Tritanopia (blue-blind)
#B9507A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b638c2;
/* rgb */ color: rgb(182, 56, 194);
/* oklch */ color: oklch(58.0% 0.223 324.2);
Tailwind
colors: {
  custom: {
    50: '#d07ad5',
    500: '#b638c2',
    950: '#000000',
  },
}
SCSS
$custom: #b638c2;
$custom-light: #d07ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#b638c2",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 294.783,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.22311,
    "h": 324.2
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

primary
#B638C2
secondary
#90CB8A
accent
#DF4956
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B638C2

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

Preview Lab → · Contrast checker → · Palette generator →

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