#BF38C2#BF38C2

#BF38C2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.2% C 0.227 H 327.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BF38C2
RGBrgb(191, 56, 194)
HSLhsl(299, 55%, 49%)
HSVhsv(299, 71%, 76%)
CMYKcmyk(1.5%, 71.1%, 0%, 23.9%)
CIE-LABlab(49.26, 68.86, -44.57)
CIE-LCHlch(49.26, 82.02, 327.09°)
OKLaboklab(59.24% 0.1907 -0.1236)
OKLCHoklch(59.24% 0.227 327)
XYZxyz(32.6371, 17.8020, 52.7456)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF38C2 #3BC238
analogous
#7A38C2 #BF38C2 #C23880
triadic
#BF38C2 #C2BF38 #38C2BF
tetradic
#BF38C2 #C27A38 #3BC238 #3880C2
square
#BF38C2 #C27A38 #3BC238 #3880C2
split-complementary
#BF38C2 #80C238 #38C27A
monochromatic
#611D63 #902A93 #BF38C2 #D065D2 #DF94E0

Accessibility & contrast

On white

4.61
#BF38C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BF38C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BF38C2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF38C2#FFFFFF#000000##FFFFFF
##BF38C21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6AC6
Deuteranopia (green-blind)
#5A7BBF
Tritanopia (blue-blind)
#C44E7A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bf38c2;
/* rgb */ color: rgb(191, 56, 194);
/* oklch */ color: oklch(59.2% 0.227 327.0);
Tailwind
colors: {
  custom: {
    50: '#d67bd5',
    500: '#bf38c2',
    950: '#000000',
  },
}
SCSS
$custom: #bf38c2;
$custom-light: #d67bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#bf38c2",
  "rgb": {
    "r": 191,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 298.696,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59238,
    "c": 0.22726,
    "h": 327
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#BF38C2
secondary
#8CCB8A
accent
#DF494D
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BF38C2

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

Preview Lab → · Contrast checker → · Palette generator →

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