#B638C3#B638C3

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

Color values

HEX#B638C3
RGBrgb(182, 56, 195)
HSLhsl(294, 55%, 49%)
HSVhsv(294, 71%, 76%)
CMYKcmyk(6.7%, 71.3%, 0%, 23.5%)
CIE-LABlab(47.90, 67.09, -47.39)
CIE-LCHlch(47.90, 82.14, 324.76°)
OKLaboklab(58.01% 0.1808 -0.1321)
OKLCHoklch(58.01% 0.224 323.9)
XYZxyz(30.5550, 16.7154, 53.2362)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638C3 #45C338
analogous
#7038C3 #B638C3 #C3388B
triadic
#B638C3 #C3B638 #38C3B6
tetradic
#B638C3 #C37038 #45C338 #388BC3
square
#B638C3 #C37038 #45C338 #388BC3
split-complementary
#B638C3 #8BC338 #38C370
monochromatic
#5D1D64 #8A2A93 #B638C3 #C965D3 #D995E1

Accessibility & contrast

On white

4.84
#B638C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B638C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638C3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638C3#FFFFFF#000000##FFFFFF
##B638C31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0368C7
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#B9507A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b638c3;
/* rgb */ color: rgb(182, 56, 195);
/* oklch */ color: oklch(58.0% 0.224 323.9);
Tailwind
colors: {
  custom: {
    50: '#d07ad6',
    500: '#b638c3',
    950: '#000000',
  },
}
SCSS
$custom: #b638c3;
$custom-light: #d07ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b638c3",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 294.388,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.22392,
    "h": 323.9
  },
  "luminance": 0.16714
}

Semantic roles & 50–950 ramp

primary
#B638C3
secondary
#91CC8B
accent
#DF4957
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B638C3

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

Preview Lab → · Contrast checker → · Palette generator →

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