#BF38B1#BF38B1

#BF38B1 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.214 H 332.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BF38B1
RGBrgb(191, 56, 177)
HSLhsl(306, 55%, 48%)
HSVhsv(306, 71%, 75%)
CMYKcmyk(0%, 70.7%, 7.3%, 25.1%)
CIE-LABlab(48.36, 66.14, -36.06)
CIE-LCHlch(48.36, 75.33, 331.40°)
OKLaboklab(58.31% 0.1902 -0.099)
OKLCHoklch(58.31% 0.214 332.5)
XYZxyz(30.8359, 17.0815, 43.2594)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF38B1 #38BF46
analogous
#8938BF #BF38B1 #BF386D
triadic
#BF38B1 #B1BF38 #38B1BF
tetradic
#BF38B1 #BF8938 #38BF46 #386DBF
square
#BF38B1 #BF8938 #38BF46 #386DBF
split-complementary
#BF38B1 #6DBF38 #38BF89
monochromatic
#601C59 #902A85 #BF38B1 #D163C6 #DF92D7

Accessibility & contrast

On white

4.76
#BF38B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BF38B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF38B1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF38B1#FFFFFF#000000##FFFFFF
##BF38B11.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B4
Deuteranopia (green-blind)
#637AAE
Tritanopia (blue-blind)
#C74670
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bf38b1;
/* rgb */ color: rgb(191, 56, 177);
/* oklch */ color: oklch(58.3% 0.214 332.5);
Tailwind
colors: {
  custom: {
    50: '#d67bc9',
    500: '#bf38b1',
    950: '#000000',
  },
}
SCSS
$custom: #bf38b1;
$custom-light: #d67bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf38b1",
  "rgb": {
    "r": 191,
    "g": 56,
    "b": 177
  },
  "hsl": {
    "h": 306.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.21441,
    "h": 332.5
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#BF38B1
secondary
#89CA8F
accent
#DE594A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BF38B1

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

Preview Lab → · Contrast checker → · Palette generator →

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