#BF42EA#BF42EA

#BF42EA is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.6% C 0.249 H 315.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BF42EA
RGBrgb(191, 66, 234)
HSLhsl(285, 80%, 59%)
HSVhsv(285, 72%, 92%)
CMYKcmyk(18.4%, 71.8%, 0%, 8.2%)
CIE-LABlab(52.86, 72.46, -61.64)
CIE-LCHlch(52.86, 95.13, 319.61°)
OKLaboklab(62.57% 0.1789 -0.1736)
OKLCHoklch(62.57% 0.249 315.9)
XYZxyz(38.2830, 20.9148, 79.8463)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42EA #6DEA42
analogous
#6B42EA #BF42EA #EA42C1
triadic
#BF42EA #EABF42 #42EABF
tetradic
#BF42EA #EA6B42 #6DEA42 #42C1EA
square
#BF42EA #EA6B42 #6DEA42 #42C1EA
split-complementary
#BF42EA #C1EA42 #42EA6B
monochromatic
#7B12A0 #A618D7 #BF42EA #D279F0 #E4B0F6

Accessibility & contrast

On white

4.05
#BF42EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#BF42EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42EA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42EA#FFFFFF#000000##000000
##BF42EA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#4082E6
Tritanopia (blue-blind)
#BC6593
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bf42ea;
/* rgb */ color: rgb(191, 66, 234);
/* oklch */ color: oklch(62.6% 0.249 315.9);
Tailwind
colors: {
  custom: {
    50: '#d782f1',
    500: '#bf42ea',
    950: '#000000',
  },
}
SCSS
$custom: #bf42ea;
$custom-light: #d782f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42ea",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 284.643,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62565,
    "c": 0.24928,
    "h": 315.9
  },
  "luminance": 0.20913
}

Semantic roles & 50–950 ramp

primary
#BF42EA
secondary
#B4E5A3
accent
#F63164
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BF42EA

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

Preview Lab → · Contrast checker → · Palette generator →

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