#BF42E2#BF42E2

#BF42E2 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.1% C 0.242 H 317.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BF42E2
RGBrgb(191, 66, 226)
HSLhsl(287, 73%, 57%)
HSVhsv(287, 71%, 89%)
CMYKcmyk(15.5%, 70.8%, 0%, 11.4%)
CIE-LABlab(52.36, 70.95, -57.92)
CIE-LCHlch(52.36, 91.60, 320.77°)
OKLaboklab(62.05% 0.1797 -0.1627)
OKLCHoklch(62.05% 0.242 317.8)
XYZxyz(37.1596, 20.4654, 73.9296)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42E2 #65E242
analogous
#6F42E2 #BF42E2 #E242B5
triadic
#BF42E2 #E2BF42 #42E2BF
tetradic
#BF42E2 #E26F42 #65E242 #42B5E2
square
#BF42E2 #E26F42 #65E242 #42B5E2
split-complementary
#BF42E2 #B5E242 #42E26F
monochromatic
#781793 #A31FC8 #BF42E2 #D177EA #E3ACF2

Accessibility & contrast

On white

4.12
#BF42E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#BF42E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42E2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42E2#FFFFFF#000000##000000
##BF42E21.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#4881DE
Tritanopia (blue-blind)
#BE628E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bf42e2;
/* rgb */ color: rgb(191, 66, 226);
/* oklch */ color: oklch(62.1% 0.242 317.8);
Tailwind
colors: {
  custom: {
    50: '#d681ec',
    500: '#bf42e2',
    950: '#000000',
  },
}
SCSS
$custom: #bf42e2;
$custom-light: #d681ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42e2",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 286.875,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62053,
    "c": 0.24238,
    "h": 317.8
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#BF42E2
secondary
#AEE09F
accent
#F03860
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BF42E2

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

Preview Lab → · Contrast checker → · Palette generator →

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