#B638C8#B638C8

#B638C8 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.228 H 322.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B638C8
RGBrgb(182, 56, 200)
HSLhsl(293, 57%, 50%)
HSVhsv(293, 72%, 78%)
CMYKcmyk(9%, 72%, 0%, 21.6%)
CIE-LABlab(48.19, 67.97, -49.82)
CIE-LCHlch(48.19, 84.27, 323.76°)
OKLaboklab(58.31% 0.1806 -0.1392)
OKLCHoklch(58.31% 0.228 322.4)
XYZxyz(31.1298, 16.9453, 56.2635)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638C8 #4AC838
analogous
#6E38C8 #B638C8 #C83892
triadic
#B638C8 #C8B638 #38C8B6
tetradic
#B638C8 #C86E38 #4AC838 #3892C8
square
#B638C8 #C86E38 #4AC838 #3892C8
split-complementary
#B638C8 #92C838 #38C86E
monochromatic
#5F1D69 #8B2A99 #B638C8 #C868D5 #D998E3

Accessibility & contrast

On white

4.78
#B638C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B638C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638C8#FFFFFF#000000##FFFFFF
##B638C81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#4D77C5
Tritanopia (blue-blind)
#B8527D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b638c8;
/* rgb */ color: rgb(182, 56, 200);
/* oklch */ color: oklch(58.3% 0.228 322.4);
Tailwind
colors: {
  custom: {
    50: '#d07bd9',
    500: '#b638c8',
    950: '#000000',
  },
}
SCSS
$custom: #b638c8;
$custom-light: #d07bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b638c8",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 292.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.228,
    "h": 322.4
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#B638C8
secondary
#96CE8E
accent
#E0485B
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B638C8

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

Preview Lab → · Contrast checker → · Palette generator →

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