#B638AA#B638AA

#B638AA is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.204 H 332.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B638AA
RGBrgb(182, 56, 170)
HSLhsl(306, 53%, 47%)
HSVhsv(306, 69%, 71%)
CMYKcmyk(0%, 69.2%, 6.6%, 28.6%)
CIE-LABlab(46.55, 62.93, -34.89)
CIE-LCHlch(46.55, 71.96, 331.00°)
OKLaboklab(56.6% 0.1804 -0.0958)
OKLCHoklch(56.6% 0.204 332)
XYZxyz(27.9613, 15.6779, 39.5759)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638AA #38B644
analogous
#8338B6 #B638AA #B6386B
triadic
#B638AA #AAB638 #38AAB6
tetradic
#B638AA #B68338 #38B644 #386BB6
square
#B638AA #B68338 #38B644 #386BB6
split-complementary
#B638AA #6BB638 #38B683
monochromatic
#581B53 #872A7E #B638AA #CD5EC3 #DC8DD4

Accessibility & contrast

On white

5.08
#B638AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B638AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638AA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638AA#FFFFFF#000000##FFFFFF
##B638AA1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#5F75A7
Tritanopia (blue-blind)
#BE456D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b638aa;
/* rgb */ color: rgb(182, 56, 170);
/* oklch */ color: oklch(56.6% 0.204 332.0);
Tailwind
colors: {
  custom: {
    50: '#cf7ac3',
    500: '#b638aa',
    950: '#000000',
  },
}
SCSS
$custom: #b638aa;
$custom-light: #cf7ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#b638aa",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 305.714,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.20426,
    "h": 332
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#B638AA
secondary
#84C68A
accent
#DC594B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B638AA

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

Preview Lab → · Contrast checker → · Palette generator →

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