#BF38B7#BF38B7

#BF38B7 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.219 H 330.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BF38B7
RGBrgb(191, 56, 183)
HSLhsl(304, 55%, 48%)
HSVhsv(304, 71%, 75%)
CMYKcmyk(0%, 70.7%, 4.2%, 25.1%)
CIE-LABlab(48.67, 67.08, -39.09)
CIE-LCHlch(48.67, 77.64, 329.77°)
OKLaboklab(58.63% 0.1905 -0.1077)
OKLCHoklch(58.63% 0.219 330.5)
XYZxyz(31.4472, 17.3260, 46.4785)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF38B7 #38BF40
analogous
#8438BF #BF38B7 #BF3873
triadic
#BF38B7 #B7BF38 #38B7BF
tetradic
#BF38B7 #BF8438 #38BF40 #3873BF
square
#BF38B7 #BF8438 #38BF40 #3873BF
split-complementary
#BF38B7 #73BF38 #38BF84
monochromatic
#601C5C #902A8A #BF38B7 #D163CB #DF92DB

Accessibility & contrast

On white

4.70
#BF38B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BF38B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF38B7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF38B7#FFFFFF#000000##FFFFFF
##BF38B71.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BB
Deuteranopia (green-blind)
#607AB4
Tritanopia (blue-blind)
#C64974
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bf38b7;
/* rgb */ color: rgb(191, 56, 183);
/* oklch */ color: oklch(58.6% 0.219 330.5);
Tailwind
colors: {
  custom: {
    50: '#d67bcd',
    500: '#bf38b7',
    950: '#000000',
  },
}
SCSS
$custom: #bf38b7;
$custom-light: #d67bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf38b7",
  "rgb": {
    "r": 191,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 303.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58627,
    "c": 0.21886,
    "h": 330.5
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#BF38B7
secondary
#89CA8D
accent
#DE534A
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BF38B7

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

Preview Lab → · Contrast checker → · Palette generator →

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