#BE42C7#BE42C7

#BE42C7 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.219 H 325.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BE42C7
RGBrgb(190, 66, 199)
HSLhsl(296, 54%, 52%)
HSVhsv(296, 67%, 78%)
CMYKcmyk(4.5%, 66.8%, 0%, 22%)
CIE-LABlab(50.65, 65.87, -45.25)
CIE-LCHlch(50.65, 79.91, 325.51°)
OKLaboklab(60.3% 0.1795 -0.1257)
OKLCHoklch(60.3% 0.219 325)
XYZxyz(33.4914, 18.9692, 55.9191)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE42C7 #4BC742
analogous
#7C42C7 #BE42C7 #C7428E
triadic
#BE42C7 #C7BE42 #42C7BE
tetradic
#BE42C7 #C77C42 #4BC742 #428EC7
square
#BE42C7 #C77C42 #4BC742 #428EC7
split-complementary
#BE42C7 #8EC742 #42C77C
monochromatic
#69216E #962F9D #BE42C7 #CE71D5 #DEA0E3

Accessibility & contrast

On white

4.38
#BE42C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BE42C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BE42C7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE42C7#FFFFFF#000000##000000
##BE42C71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#C2577F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #be42c7;
/* rgb */ color: rgb(190, 66, 199);
/* oklch */ color: oklch(60.3% 0.219 325.0);
Tailwind
colors: {
  custom: {
    50: '#d580d8',
    500: '#be42c7',
    950: '#000000',
  },
}
SCSS
$custom: #be42c7;
$custom-light: #d580d8;
$custom-dark: #000000;
JSON
{
  "hex": "#be42c7",
  "rgb": {
    "r": 190,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 295.94,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.21917,
    "h": 325
  },
  "luminance": 0.18967
}

Semantic roles & 50–950 ramp

primary
#BE42C7
secondary
#99D095
accent
#DE4A54
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BE42C7

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

Preview Lab → · Contrast checker → · Palette generator →

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