#BF38AB#BF38AB

#BF38AB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.210 H 334.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BF38AB
RGBrgb(191, 56, 171)
HSLhsl(309, 55%, 48%)
HSVhsv(309, 71%, 75%)
CMYKcmyk(0%, 70.7%, 10.5%, 25.1%)
CIE-LABlab(48.07, 65.23, -32.99)
CIE-LCHlch(48.07, 73.10, 333.17°)
OKLaboklab(58% 0.1897 -0.0902)
OKLCHoklch(58% 0.21 334.6)
XYZxyz(30.2510, 16.8476, 40.1789)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF38AB #38BF4C
analogous
#8F38BF #BF38AB #BF3867
triadic
#BF38AB #ABBF38 #38ABBF
tetradic
#BF38AB #BF8F38 #38BF4C #3867BF
square
#BF38AB #BF8F38 #38BF4C #3867BF
split-complementary
#BF38AB #67BF38 #38BF8F
monochromatic
#601C56 #902A81 #BF38AB #D163C1 #DF92D4

Accessibility & contrast

On white

4.81
#BF38AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BF38AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF38AB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF38AB#FFFFFF#000000##FFFFFF
##BF38AB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AE
Deuteranopia (green-blind)
#6679A8
Tritanopia (blue-blind)
#C8436D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bf38ab;
/* rgb */ color: rgb(191, 56, 171);
/* oklch */ color: oklch(58.0% 0.210 334.6);
Tailwind
colors: {
  custom: {
    50: '#d67bc4',
    500: '#bf38ab',
    950: '#000000',
  },
}
SCSS
$custom: #bf38ab;
$custom-light: #d67bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf38ab",
  "rgb": {
    "r": 191,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 308.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57999,
    "c": 0.21006,
    "h": 334.6
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#BF38AB
secondary
#89CA92
accent
#DE604A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BF38AB

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

Preview Lab → · Contrast checker → · Palette generator →

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