#B638AC#B638AC

#B638AC is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.206 H 331.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B638AC
RGBrgb(182, 56, 172)
HSLhsl(305, 53%, 47%)
HSVhsv(305, 69%, 71%)
CMYKcmyk(0%, 69.2%, 5.5%, 28.6%)
CIE-LABlab(46.65, 63.25, -35.91)
CIE-LCHlch(46.65, 72.73, 330.41°)
OKLaboklab(56.71% 0.1805 -0.0988)
OKLCHoklch(56.71% 0.206 331.3)
XYZxyz(28.1519, 15.7542, 40.5799)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638AC #38B642
analogous
#8138B6 #B638AC #B6386D
triadic
#B638AC #ACB638 #38ACB6
tetradic
#B638AC #B68138 #38B642 #386DB6
square
#B638AC #B68138 #38B642 #386DB6
split-complementary
#B638AC #6DB638 #38B681
monochromatic
#581B54 #872A80 #B638AC #CD5EC5 #DC8DD6

Accessibility & contrast

On white

5.06
#B638AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B638AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638AC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638AC#FFFFFF#000000##FFFFFF
##B638AC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#BD466E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b638ac;
/* rgb */ color: rgb(182, 56, 172);
/* oklch */ color: oklch(56.7% 0.206 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf7ac5',
    500: '#b638ac',
    950: '#000000',
  },
}
SCSS
$custom: #b638ac;
$custom-light: #cf7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#b638ac",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 304.762,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.20577,
    "h": 331.3
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#B638AC
secondary
#84C689
accent
#DC574B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B638AC

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

Preview Lab → · Contrast checker → · Palette generator →

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