#BF38DB#BF38DB

#BF38DB is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.7% C 0.247 H 320.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BF38DB
RGBrgb(191, 56, 219)
HSLhsl(290, 69%, 54%)
HSVhsv(290, 74%, 86%)
CMYKcmyk(12.8%, 74.4%, 0%, 14.1%)
CIE-LABlab(50.71, 73.15, -56.60)
CIE-LCHlch(50.71, 92.49, 322.27°)
OKLaboklab(60.74% 0.1894 -0.1587)
OKLCHoklch(60.74% 0.247 320)
XYZxyz(35.6846, 19.0210, 68.7959)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF38DB #54DB38
analogous
#6E38DB #BF38DB #DB38A6
triadic
#BF38DB #DBBF38 #38DBBF
tetradic
#BF38DB #DB6E38 #54DB38 #38A6DB
square
#BF38DB #DB6E38 #54DB38 #38A6DB
split-complementary
#BF38DB #A6DB38 #38DB6E
monochromatic
#6F1781 #9C21B5 #BF38DB #D06CE4 #E0A0EE

Accessibility & contrast

On white

4.37
#BF38DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BF38DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF38DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF38DB#FFFFFF#000000##000000
##BF38DB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#487DD7
Tritanopia (blue-blind)
#C05988
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bf38db;
/* rgb */ color: rgb(191, 56, 219);
/* oklch */ color: oklch(60.7% 0.247 320.0);
Tailwind
colors: {
  custom: {
    50: '#d77ce7',
    500: '#bf38db',
    950: '#000000',
  },
}
SCSS
$custom: #bf38db;
$custom-light: #d77ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf38db",
  "rgb": {
    "r": 191,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 289.693,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.24713,
    "h": 320
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#BF38DB
secondary
#A1DA95
accent
#EC3C5A
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BF38DB

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

Preview Lab → · Contrast checker → · Palette generator →

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