#BF42E1#BF42E1

#BF42E1 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 62.0% C 0.242 H 318.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BF42E1
RGBrgb(191, 66, 225)
HSLhsl(287, 73%, 57%)
HSVhsv(287, 71%, 88%)
CMYKcmyk(15.1%, 70.7%, 0%, 11.8%)
CIE-LABlab(52.30, 70.77, -57.46)
CIE-LCHlch(52.30, 91.16, 320.93°)
OKLaboklab(61.99% 0.1798 -0.1613)
OKLCHoklch(61.99% 0.242 318.1)
XYZxyz(37.0228, 20.4107, 73.2091)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42E1 #64E142
analogous
#7042E1 #BF42E1 #E142B3
triadic
#BF42E1 #E1BF42 #42E1BF
tetradic
#BF42E1 #E17042 #64E142 #42B3E1
square
#BF42E1 #E17042 #64E142 #42B3E1
split-complementary
#BF42E1 #B3E142 #42E170
monochromatic
#771792 #A31FC6 #BF42E1 #D177E9 #E3ACF2

Accessibility & contrast

On white

4.13
#BF42E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BF42E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42E1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42E1#FFFFFF#000000##000000
##BF42E11.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#4981DD
Tritanopia (blue-blind)
#BE628E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bf42e1;
/* rgb */ color: rgb(191, 66, 225);
/* oklch */ color: oklch(62.0% 0.242 318.1);
Tailwind
colors: {
  custom: {
    50: '#d681eb',
    500: '#bf42e1',
    950: '#000000',
  },
}
SCSS
$custom: #bf42e1;
$custom-light: #d681eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42e1",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 287.17,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6199,
    "c": 0.24152,
    "h": 318.1
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#BF42E1
secondary
#ADE09F
accent
#EF3860
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BF42E1

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

Preview Lab → · Contrast checker → · Palette generator →

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