#BF30B7#BF30B7

#BF30B7 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.227 H 330.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BF30B7
RGBrgb(191, 48, 183)
HSLhsl(303, 60%, 47%)
HSVhsv(303, 75%, 75%)
CMYKcmyk(0%, 74.9%, 4.2%, 25.1%)
CIE-LABlab(47.77, 69.65, -40.52)
CIE-LCHlch(47.77, 80.58, 329.81°)
OKLaboklab(57.98% 0.1979 -0.1118)
OKLCHoklch(57.98% 0.227 330.5)
XYZxyz(31.0900, 16.6116, 46.3595)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF30B7 #30BF38
analogous
#8030BF #BF30B7 #BF306F
triadic
#BF30B7 #B7BF30 #30B7BF
tetradic
#BF30B7 #BF8030 #30BF38 #306FBF
square
#BF30B7 #BF8030 #30BF38 #306FBF
split-complementary
#BF30B7 #6FBF30 #30BF80
monochromatic
#5D1759 #8E2488 #BF30B7 #D557CE #E188DC

Accessibility & contrast

On white

4.86
#BF30B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BF30B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF30B7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF30B7#FFFFFF#000000##FFFFFF
##BF30B71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BB
Deuteranopia (green-blind)
#5D78B4
Tritanopia (blue-blind)
#C64372
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bf30b7;
/* rgb */ color: rgb(191, 48, 183);
/* oklch */ color: oklch(58.0% 0.227 330.5);
Tailwind
colors: {
  custom: {
    50: '#d678cd',
    500: '#bf30b7',
    950: '#000000',
  },
}
SCSS
$custom: #bf30b7;
$custom-light: #d678cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf30b7",
  "rgb": {
    "r": 191,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 303.357,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.2273,
    "h": 330.5
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#BF30B7
secondary
#80CB84
accent
#E34E45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BF30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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