#BF45D8#BF45D8

#BF45D8 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.7% C 0.230 H 320.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BF45D8
RGBrgb(191, 69, 216)
HSLhsl(290, 65%, 56%)
HSVhsv(290, 68%, 85%)
CMYKcmyk(11.6%, 68.1%, 0%, 15.3%)
CIE-LABlab(52.17, 67.97, -52.56)
CIE-LCHlch(52.17, 85.92, 322.28°)
OKLaboklab(61.72% 0.1773 -0.147)
OKLCHoklch(61.72% 0.23 320.3)
XYZxyz(36.0072, 20.2923, 66.9726)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF45D8 #5ED845
analogous
#7545D8 #BF45D8 #D845A7
triadic
#BF45D8 #D8BF45 #45D8BF
tetradic
#BF45D8 #D87545 #5ED845 #45A7D8
square
#BF45D8 #D87545 #5ED845 #45A7D8
split-complementary
#BF45D8 #A7D845 #45D875
monochromatic
#741C86 #A027B9 #BF45D8 #D078E3 #E2AAED

Accessibility & contrast

On white

4.15
#BF45D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BF45D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF45D8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF45D8#FFFFFF#000000##000000
##BF45D81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0474DC
Deuteranopia (green-blind)
#5381D4
Tritanopia (blue-blind)
#C0608A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bf45d8;
/* rgb */ color: rgb(191, 69, 216);
/* oklch */ color: oklch(61.7% 0.230 320.3);
Tailwind
colors: {
  custom: {
    50: '#d682e5',
    500: '#bf45d8',
    950: '#000000',
  },
}
SCSS
$custom: #bf45d8;
$custom-light: #d682e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bf45d8",
  "rgb": {
    "r": 191,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 289.796,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.2303,
    "h": 320.3
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#BF45D8
secondary
#A8DB9E
accent
#E8405C
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BF45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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