#BF38E7#BF38E7

#BF38E7 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.5% C 0.257 H 317.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BF38E7
RGBrgb(191, 56, 231)
HSLhsl(286, 78%, 56%)
HSVhsv(286, 76%, 91%)
CMYKcmyk(17.3%, 75.8%, 0%, 9.4%)
CIE-LABlab(51.47, 75.32, -62.18)
CIE-LCHlch(51.47, 97.67, 320.46°)
OKLaboklab(61.52% 0.188 -0.1751)
OKLCHoklch(61.52% 0.257 317)
XYZxyz(37.3217, 19.6758, 77.4177)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF38E7 #60E738
analogous
#6838E7 #BF38E7 #E738B7
triadic
#BF38E7 #E7BF38 #38E7BF
tetradic
#BF38E7 #E76838 #60E738 #38B7E7
square
#BF38E7 #E76838 #60E738 #38B7E7
split-complementary
#BF38E7 #B7E738 #38E768
monochromatic
#751293 #A118CA #BF38E7 #D16FEE #E2A5F4

Accessibility & contrast

On white

4.26
#BF38E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BF38E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF38E7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF38E7#FFFFFF#000000##000000
##BF38E71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#3B7EE3
Tritanopia (blue-blind)
#BD5F8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bf38e7;
/* rgb */ color: rgb(191, 56, 231);
/* oklch */ color: oklch(61.5% 0.257 317.0);
Tailwind
colors: {
  custom: {
    50: '#d77def',
    500: '#bf38e7',
    950: '#000000',
  },
}
SCSS
$custom: #bf38e7;
$custom-light: #d77def;
$custom-dark: #000000;
JSON
{
  "hex": "#bf38e7",
  "rgb": {
    "r": 191,
    "g": 56,
    "b": 231
  },
  "hsl": {
    "h": 286.286,
    "s": 78.475,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61521,
    "c": 0.25693,
    "h": 317
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#BF38E7
secondary
#AAE199
accent
#F5335F
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BF38E7

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

Preview Lab → · Contrast checker → · Palette generator →

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