#BF38B2#BF38B2

#BF38B2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.215 H 332.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BF38B2
RGBrgb(191, 56, 178)
HSLhsl(306, 55%, 48%)
HSVhsv(306, 71%, 75%)
CMYKcmyk(0%, 70.7%, 6.8%, 25.1%)
CIE-LABlab(48.41, 66.30, -36.57)
CIE-LCHlch(48.41, 75.71, 331.12°)
OKLaboklab(58.36% 0.1903 -0.1004)
OKLCHoklch(58.36% 0.215 332.2)
XYZxyz(30.9360, 17.1216, 43.7863)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF38B2 #38BF45
analogous
#8838BF #BF38B2 #BF386E
triadic
#BF38B2 #B2BF38 #38B2BF
tetradic
#BF38B2 #BF8838 #38BF45 #386EBF
square
#BF38B2 #BF8838 #38BF45 #386EBF
split-complementary
#BF38B2 #6EBF38 #38BF88
monochromatic
#601C5A #902A86 #BF38B2 #D163C7 #DF92D8

Accessibility & contrast

On white

4.75
#BF38B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BF38B2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF38B2#FFFFFF#000000##FFFFFF
##BF38B21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#C74671
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bf38b2;
/* rgb */ color: rgb(191, 56, 178);
/* oklch */ color: oklch(58.4% 0.215 332.2);
Tailwind
colors: {
  custom: {
    50: '#d67bc9',
    500: '#bf38b2',
    950: '#000000',
  },
}
SCSS
$custom: #bf38b2;
$custom-light: #d67bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf38b2",
  "rgb": {
    "r": 191,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 305.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58361,
    "c": 0.21514,
    "h": 332.2
  },
  "luminance": 0.17119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF38B2

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

Preview Lab → · Contrast checker → · Palette generator →

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